mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
f7631b879f
commit
f77df61e65
@ -152,7 +152,7 @@ class VMInstaller(Command):
|
|||||||
p2.wait()
|
p2.wait()
|
||||||
rc = p.wait()
|
rc = p.wait()
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
raise SystemExit(rc)
|
raise SystemExit('VM builder failed with error code: %s' % rc)
|
||||||
self.download_installer()
|
self.download_installer()
|
||||||
|
|
||||||
def installer(self):
|
def installer(self):
|
||||||
@ -184,8 +184,7 @@ class VMInstaller(Command):
|
|||||||
subprocess.check_call(['scp',
|
subprocess.check_call(['scp',
|
||||||
self.VM_NAME+':build/calibre/'+installer, 'dist'])
|
self.VM_NAME+':build/calibre/'+installer, 'dist'])
|
||||||
if not os.path.exists(installer):
|
if not os.path.exists(installer):
|
||||||
self.warn('Failed to download installer: '+installer)
|
raise SystemExit('Failed to download installer: '+installer)
|
||||||
raise SystemExit(1)
|
|
||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
installer = self.installer()
|
installer = self.installer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user