Made in-place and zip execution work with python2.6 (ticket #195)

This commit is contained in:
Phil 2009-04-14 01:16:00 +02:00
parent eabb142ea3
commit 71ad2b6422
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#! /bin/sh
DIR=$(dirname $0)
PYTHONPATH=$DIR exec python -m scapy/
PYTHONPATH=$DIR exec python -m scapy.__init__

View File

@ -9,7 +9,7 @@ import os
EZIP_HEADER="""#! /bin/sh
PYTHONPATH=$0/%s exec python -m scapy
PYTHONPATH=$0/%s exec python -m scapy.__init__
"""
def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0):