diff --git a/functions.sh b/functions.sh index 08f50d9c..b53757eb 100644 --- a/functions.sh +++ b/functions.sh @@ -95,7 +95,7 @@ get_apprun() copy_deps() { PWD=$(readlink -f .) - FILES=$(find . -type f -executable -or -name *.so.* -or -name *.so | sort | uniq ) + FILES=$(find . -type f -executable -or -name "*.so.*" -or -name "*.so" | sort | uniq ) for FILE in $FILES ; do ldd "${FILE}" | grep "=>" | awk '{print $3}' | xargs -I '{}' echo '{}' >> DEPSFILE done