Daniel Gibbs 9 anni fa
parent
commit
27b88e3baf
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      lgsm/functions/command_dev_detect_ldd.sh

+ 2 - 2
lgsm/functions/command_dev_detect_ldd.sh

@@ -22,8 +22,8 @@ elif [ -f "${filesdir}" ]; then
 fi
 fi
 echo ""
 echo ""
 
 
-files=$(find ${filesdir} | wc -l)
-find ${filesdir} -type f -print0 |
+files=$(find "${filesdir}" | wc -l)
+find "${filesdir}" -type f -print0 |
 while IFS= read -r -d $'\0' line; do
 while IFS= read -r -d $'\0' line; do
 	#ldd -v $line 2>/dev/null|grep "=>" >>"${tmpdir}/detect_ldd.tmp"
 	#ldd -v $line 2>/dev/null|grep "=>" >>"${tmpdir}/detect_ldd.tmp"
 	if [ -n "$(ldd $line 2>/dev/null |grep -v "not a dynamic executable")" ]; then
 	if [ -n "$(ldd $line 2>/dev/null |grep -v "not a dynamic executable")" ]; then