summaryrefslogtreecommitdiffstats
path: root/remote/setup-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remote/setup-tools.sh')
-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