mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-13 10:34:27 -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:
|
||||
pass
|
||||
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']
|
||||
subprocess.Popen(cmd, env=env, cwd=build_calibre).wait()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user