From 6e3c3635a6baa35ae7be806fd8bea51bbe46cef0 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Tue, 8 Jan 2013 16:10:59 +0100 Subject: exclude static .a files --- remote/setup_tools | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/setup_tools') 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." -- cgit v1.2.3-55-g7522