mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-12-09 06:35:13 -05:00
windows want its executable as first parameter
This commit is contained in:
parent
e7e1f86183
commit
5fed12a0ca
@ -21,7 +21,7 @@ if flags == '1': # A branch checkout
|
||||
prev_branch, cur_branch = list(map(get_branch_name, (prev_rev, current_rev)))
|
||||
rebase_in_progress = os.path.exists('.git/rebase-apply') or os.path.exists('.git/rebase-merge')
|
||||
|
||||
subprocess.check_call('./setup.py gui --summary'.split())
|
||||
subprocess.check_call([sys.executable, './setup.py', 'gui', '--summary'])
|
||||
|
||||
# Remove .pyc files as some of them might have been orphaned
|
||||
for dirpath, dirnames, filenames in os.walk('.'):
|
||||
|
||||
@ -13,4 +13,4 @@ os.chdir(base)
|
||||
action = [x.decode('utf-8') if isinstance(x, bytes) else x for x in sys.argv[1:]][0]
|
||||
|
||||
if action == 'rebase':
|
||||
subprocess.check_call(['./setup.py', 'gui', '--summary'])
|
||||
subprocess.check_call([sys.executable, './setup.py', 'gui', '--summary'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user