ash: do not let EXIT trap to fire in `trap`
[oweals/busybox.git] / scripts / find_stray_common_vars
index 9f26bc7ac68c17b8741cbd4479b8c3c7ac3f13ca..3a25d7a8d23433f2fb6f5f88123c9eeed8faaea8 100755 (executable)
@@ -3,7 +3,7 @@
 # Common variables are elusive, they don't show up in size output!
 # This script will show all commons in *.o, sorted by size
 
-find -name '*.o' \
+find ! -path './scripts/*' -a ! -name built-in.o -a -name '*.o' \
 | while read name; do
     b=`basename "$name"`
     nm "$name" | sed "s/^/$b: /"