summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorMichael Neves2012-09-28 17:18:33 +0200
committerMichael Neves2012-09-28 17:18:33 +0200
commit71c0e3da892fd54005f5e3cfd6800357a586c6fc (patch)
tree434e10cf5f2ab72335ec635535fd578cac0e90dc /remote
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.tar.gz
tm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.tar.xz
tm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.zip
copy required files
Diffstat (limited to 'remote')
-rwxr-xr-xremote/setup-tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/setup-tools.sh b/remote/setup-tools.sh
index 164ac689..23014aac 100755
--- a/remote/setup-tools.sh
+++ b/remote/setup-tools.sh
@@ -86,9 +86,9 @@ copyfileswithdependencies ()
for FILENAME in $REQUIRED_FILES
do
- for f in $(find . -name $FILENAME -type f -executable)
+ for f in $(find . -name $FILENAME)
do
- [ $(file $f |grep -i Executable |grep -c ELF) -eq 1 ] && FILE=$f
+ [ $(file $f |grep -i Executable |grep -c ELF) -eq 0 ] && FILE=$f
done
echo $FILE >> $COPYFILES_LIST
done