mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-15 11:34:29 -04:00
Call shutdown after linux build as well
This commit is contained in:
parent
e21f0a3acc
commit
063c43e871
@ -39,7 +39,7 @@ def build_single(which, bitness, shutdown=True):
|
|||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
pass
|
pass
|
||||||
os.link(os.path.join(dist, x), dest)
|
os.link(os.path.join(dist, x), dest)
|
||||||
if shutdown and which != 'linux':
|
if shutdown:
|
||||||
cmd = [sys.executable, os.path.join(build_calibre, which), 'shutdown']
|
cmd = [sys.executable, os.path.join(build_calibre, which), 'shutdown']
|
||||||
subprocess.Popen(cmd, env=env, cwd=build_calibre).wait()
|
subprocess.Popen(cmd, env=env, cwd=build_calibre).wait()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user