This commit is contained in:
Kovid Goyal 2019-07-11 21:48:45 +05:30
parent 1fb118edee
commit 3e0f4d36bc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -877,7 +877,6 @@ def package(args, bundle_type):
def clean(): def clean():
os.chdir(os.path.dirname(os.path.abspath(__file__)))
def safe_remove(*entries): def safe_remove(*entries):
for x in entries: for x in entries:
@ -986,7 +985,7 @@ def main():
args = option_parser().parse_args() args = option_parser().parse_args()
verbose = args.verbose > 0 verbose = args.verbose > 0
args.prefix = os.path.abspath(args.prefix) args.prefix = os.path.abspath(args.prefix)
os.chdir(os.path.dirname(os.path.abspath(__file__))) os.chdir(base)
if args.action == 'test': if args.action == 'test':
os.execlp( os.execlp(
sys.executable, sys.executable, 'test.py' sys.executable, sys.executable, 'test.py'