summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2019-04-22 12:45:04 +0200
committerJan Ekström <jeebjp@gmail.com>2019-07-21 18:13:07 +0300
commitefde2d86441e918608b5632c56a76cd3ce102159 (patch)
treefec6090ad225bba0e1ef4010f0e14c918ef3677e
parent3f6d79ddb688ad8f3dbc0b1b652142605af85f82 (diff)
downloadmpv-efde2d86441e918608b5632c56a76cd3ce102159.tar.bz2
mpv-efde2d86441e918608b5632c56a76cd3ce102159.tar.xz
osxbundle: print the output of the dylib-unhell call
-rwxr-xr-xTOOLS/osxbundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/osxbundle.py b/TOOLS/osxbundle.py
index ba0efd9e7e..49a0a98e53 100755
--- a/TOOLS/osxbundle.py
+++ b/TOOLS/osxbundle.py
@@ -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.")