sstrip binaries that have been stripped by the regular strip before
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 22 Jun 2006 00:07:36 +0000 (00:07 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 22 Jun 2006 00:07:36 +0000 (00:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4047 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/rstrip.sh

index f71aaaf..619af00 100755 (executable)
@@ -16,7 +16,7 @@ TARGETS=$*
 }
 
 find $TARGETS -type f -a -exec file {} \; | \
-  sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*, not stripped/\1:\2/p' | \
+  sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.* stripped/\1:\2/p' | \
 (
   IFS=":"
   while read F S; do