Call shutdown after linux build as well

This commit is contained in:
Kovid Goyal 2017-02-02 20:16:40 +05:30
parent e21f0a3acc
commit 063c43e871
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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()