summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-14 20:27:42 +0200
committerSimon Rettberg2013-05-14 20:27:42 +0200
commit57f6fd08ef9a9f48d29418c93120c47dac1a6f9a (patch)
treea76bf88a9047899c690ba5b28a558d2501e5b8be /remote/modules
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-57f6fd08ef9a9f48d29418c93120c47dac1a6f9a.tar.gz
tm-scripts-57f6fd08ef9a9f48d29418c93120c47dac1a6f9a.tar.xz
tm-scripts-57f6fd08ef9a9f48d29418c93120c47dac1a6f9a.zip
[vmplayer] make everything that seems like a script executable
Diffstat (limited to 'remote/modules')
-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