diff options
| author | Michael Neves | 2013-01-08 16:10:59 +0100 |
|---|---|---|
| committer | Michael Neves | 2013-01-08 16:10:59 +0100 |
| commit | 6e3c3635a6baa35ae7be806fd8bea51bbe46cef0 (patch) | |
| tree | eef9b123e7354d6cf54a297a65a2d942128eec0f /remote/setup_tools | |
| parent | [plymouth] adapted config file to new changes (diff) | |
| download | tm-scripts-6e3c3635a6baa35ae7be806fd8bea51bbe46cef0.tar.gz tm-scripts-6e3c3635a6baa35ae7be806fd8bea51bbe46cef0.tar.xz tm-scripts-6e3c3635a6baa35ae7be806fd8bea51bbe46cef0.zip | |
exclude static .a files
Diffstat (limited to 'remote/setup_tools')
| -rwxr-xr-x | remote/setup_tools | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/setup_tools b/remote/setup_tools index ebfb1995..eeb13150 100755 --- a/remote/setup_tools +++ b/remote/setup_tools @@ -99,7 +99,7 @@ copyfileswithdependencies () for ENTRY in ${REQUIRED_DIRECTORIES} do echo ".${ENTRY}" >> ${COPYFILES_LIST} - for LIB in $(find .${ENTRY} -type f | xargs grep -l ELF) + for LIB in $(find .${ENTRY} -type f -not -name "*.a" | xargs grep -l ELF) do for i in $(ldd ${LIB} |awk '{print $1 $2 $3}'|grep -v ld-linux|grep -v libc.so*|grep -v linux-gate) do @@ -116,7 +116,7 @@ copyfileswithdependencies () done else echo "Did not found ${arrIN[0]} in $(pwd)" - if [ -e ${arrIN[1]} ]; + if [ ! -z ${arrIN[1]} ]; then echo -n "Trying ${arrIN[1]} ..." echo " found! Copying." |
