Commit 6a2a127e authored by Matthias Putz's avatar Matthias Putz

--amend

parent a1afc4e6
......@@ -714,7 +714,8 @@ def main(orig_args):
repo_main = my_main
ver_str = '.'.join(map(str, VERSION))
me = [repo_main, repo_main,
me = [sys.executable,
repo_main, repo_main,
'--repo-dir=%s' % rel_repo_dir,
'--wrapper-version=%s' % ver_str,
'--wrapper-path=%s' % wrapper_path,
......@@ -722,7 +723,7 @@ def main(orig_args):
me.extend(orig_args)
me.extend(extra_args)
try:
subprocess.call(sys.executable, me)
subprocess.call(me)
except OSError as e:
print("fatal: unable to start %s" % repo_main, file=sys.stderr)
print("fatal: %s" % e, file=sys.stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment