index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lddd | 4 |
@@ -25,9 +25,9 @@ for tree in $PATH $libdirs $extras; do -name '*.mcopclass' ! -name '*.mcoptype') IFS=$ifs for i in $files; do - if [ `file $i | grep -c 'ELF'` -ne 0 ]; then + if [ $(file $i | grep -c 'ELF') -ne 0 ]; then # Is an ELF binary. - if [ `ldd $i 2>/dev/null | grep -c 'not found'` -ne 0 ]; then + if [ $(ldd $i 2>/dev/null | grep -c 'not found') -ne 0 ]; then # Missing lib. echo "$i:" >> $TEMPDIR/raw.txt ldd $i 2>/dev/null | grep 'not found' >> $TEMPDIR/raw.txt |