diff options
| author | Michael Neves | 2012-09-28 17:18:33 +0200 |
|---|---|---|
| committer | Michael Neves | 2012-09-28 17:18:33 +0200 |
| commit | 71c0e3da892fd54005f5e3cfd6800357a586c6fc (patch) | |
| tree | 434e10cf5f2ab72335ec635535fd578cac0e90dc /remote | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.tar.gz tm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.tar.xz tm-scripts-71c0e3da892fd54005f5e3cfd6800357a586c6fc.zip | |
copy required files
Diffstat (limited to 'remote')
| -rwxr-xr-x | remote/setup-tools.sh | 4 |
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 |
