build_release: Fix running smoke test on OS X

This commit is contained in:
Florian Bruhin 2016-07-26 16:49:44 +02:00
parent 901ccebca6
commit 180d113914

View File

@ -111,7 +111,7 @@ def build_osx():
try: try:
binary = os.path.join(tmpdir, 'qutebrowser.app', 'Contents', binary = os.path.join(tmpdir, 'qutebrowser.app', 'Contents',
'MacOS', 'qutebrowser') 'MacOS', 'qutebrowser')
subprocess.check_call([binary]) smoke_test(binary)
finally: finally:
subprocess.check_call(['hdiutil', 'detach', tmpdir]) subprocess.check_call(['hdiutil', 'detach', tmpdir])