From 18f3a1a7ee3de98f6e82148d4b31dc4972aaa8c6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 4 Dec 2013 21:36:02 +0100 Subject: [PATCH] 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. --- wscript_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \