From 21f02b8c296a0e3d0beec92bcebd46390a88dbf6 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 27 Jun 2013 17:09:25 +0200 Subject: [PATCH] Make the instalers happy everything with exec bit --- builder-targets-cb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh index 1268557..b1df226 100644 --- a/builder-targets-cb.sh +++ b/builder-targets-cb.sh @@ -127,7 +127,8 @@ function create() { mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/ # set exec bit on executeables - find $INST_DIR/CLIENT_DATA -type f -iname "*.exe" -o -iname "*.bat" -o -iname "*.cmd" -o -iname "*.msi" -o -iname "*.msp" | xargs chmod +x -v + find $INST_DIR/CLIENT_DATA/Install/ -type f -print0 | xargs -0 chmod +x + find $INST_DIR/CLIENT_DATA/UnInstall/ -type f -print0 | xargs -0 chmod +x find $INST_DIR/CLIENT_DATA -type d -print0 | xargs -0 chmod 755 -v # delete the temp directory