summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2013-05-14 20:28:52 +0200
committerMichael Neves2013-05-14 20:28:52 +0200
commitb920dd1f8727fa2113ad6e4463c8f24e929c91e3 (patch)
tree066ba29f5c0528b8739836fb90c2fb23095b5ef8
parentfix /dev/mem permissions (diff)
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-b920dd1f8727fa2113ad6e4463c8f24e929c91e3.tar.gz
tm-scripts-b920dd1f8727fa2113ad6e4463c8f24e929c91e3.tar.xz
tm-scripts-b920dd1f8727fa2113ad6e4463c8f24e929c91e3.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
-rw-r--r--remote/modules/vmplayer/vmplayer.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build
index a51b87d7..716bf3e3 100644
--- a/remote/modules/vmplayer/vmplayer.build
+++ b/remote/modules/vmplayer/vmplayer.build
@@ -33,6 +33,10 @@ build() {
chmod +x "$TARGET"/bin/*
chmod +x "$MODULE_BUILD_DIR"/usr/{bin,sbin}/*
chmod +x "$TARGET"/lib/*.sh
+ find "$MODULE_BUILD_DIR" -name '*.sh' -exec chmod +x {} \;
+ for file in $(grep -rl -E "^#!/" "$MODULE_BUILD_DIR"); do
+ chmod +x "$file"
+ done
pinfo "Patching LIBCONF_DIR"
local file=""
for file in $(grep -rl "@@LIBCONF_DIR@@" "$MODULE_BUILD_DIR"); do