scripts/rstrip.sh: ignore /lib/firmware
[openwrt/staging/jow.git] / scripts / rstrip.sh
index e47960a941ae203810fc26f003d44d6df1b075ce..2aa7e96fdac6fb8af02f04a29a3cbb146a545cda 100755 (executable)
@@ -20,7 +20,7 @@ TARGETS=$*
   exit 1
 }
 
-find $TARGETS -type f -a -exec file {} \; | \
+find $TARGETS -not -path \*/lib/firmware/\* -a -type f -a -exec file {} \; | \
   sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.*/\1:\2/p' | \
 (
   IFS=":"