diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-12-04 21:36:02 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-12-04 21:39:53 +0100 |
commit | 18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6 (patch) | |
tree | e983820fc8fa80ca7a31d1aa95d36f2f6b238923 | |
parent | 6e34b0ec1f50612cb2767da3dbc27be0be63041d (diff) | |
download | mpv-18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6.tar.bz2 mpv-18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6.tar.xz |
build: osx: set chmod to 755 for non-bundle binary during install
When installing the bundle we also manually install the origianl binary. Waf
defaults to chmod 644, so we must explicitely set it to 755.
-rw-r--r-- | wscript_build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py index e004727430..bd1b41676d 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -434,7 +434,8 @@ def build(ctx): ) if ctx.dependency_satisfied('macosx-bundle'): - ctx.install_files(ctx.env.BINDIR, 'mpv') + from waflib import Utils + ctx.install_files(ctx.env.BINDIR, 'mpv', chmod=Utils.O755) if ctx.dependency_satisfied("vf-dlopen-filters"): dlfilters = "showqscale telecine tile rectangle framestep \ |