osxbundle: print the output of the dylib-unhell call

This commit is contained in:
der richter 2019-04-22 12:45:04 +02:00 committed by Jan Ekström
parent 3f6d79ddb6
commit efde2d8644
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import fileinput
from optparse import OptionParser
def sh(command):
return os.popen(command).read()
return os.popen(command).read().strip()
def bundle_path(binary_name):
return "%s.app" % binary_name
@ -80,7 +80,7 @@ def main():
if options.deps:
print("> bundling dependencies")
sh(" ".join(["TOOLS/dylib-unhell.py", target_binary(binary_name)]))
print(sh(" ".join(["TOOLS/dylib-unhell.py", target_binary(binary_name)])))
print("done.")