diff options
Diffstat (limited to 'remote/setup-tools.sh')
| -rwxr-xr-x | remote/setup-tools.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/remote/setup-tools.sh b/remote/setup-tools.sh index e61d8903..cfd2a83e 100755 --- a/remote/setup-tools.sh +++ b/remote/setup-tools.sh @@ -79,9 +79,12 @@ copyfileswithdependencies () done # fast hack - LDLINUX=$(ldd $FILE | grep ld-linux | awk '{print $1}' |cut -c2-) - echo "/$LDLINUX" >> $COPYFILES_LIST - tar -cpv $(readlink -f "/$LDLINUX") | tar -xpv -C $INIT_DIR + LDLINUX=$(ldd $FILE | grep ld-linux | awk '{print $1}' |cut -c2-) + if [ -z $LDLINUX ] + then + echo "/$LDLINUX" >> $COPYFILES_LIST + tar -cpv $(readlink -f "/$LDLINUX") | tar -xpv -C $INIT_DIR + fi for FILENAME in $REQUIRED_FILES do |
