Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31960/scripts
Modified Files:
Tag: rel-1-2-patches
cd_cleanup
Log Message:
- removed debug symbols from all binaries and libraries
Index: cd_cleanup
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/cd_cleanup,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- cd_cleanup 10 Feb 2004 00:52:03 -0000 1.8
+++ cd_cleanup 29 Aug 2005 01:37:31 -0000 1.8.2.1
@@ -26,11 +26,8 @@
case $1 in
install )
rm $CDDIR/usr/lib/*a
-# rm -rf $CDDIR/usr/include/*
- pushd $CDDIR/usr/bin > /dev/null; strip_debug ; popd > /dev/null
- pushd $CDDIR/bin > /dev/null; strip_debug ; popd > /dev/null
- pushd $CDDIR/sbin > /dev/null; strip_debug ; popd > /dev/null
- pushd $CDDIR/usr/sbin > /dev/null; strip_debug ; popd > /dev/null
+ rm -rf $CDDIR/usr/include/*
+ find $CDDIR -type f -exec strip --strip-debug '{}' ';'
if [ "$CONFIG_DEVIL_DOC_ISO" != "y" ]; then
rm -rf $ISODIR/cdtree/doc || exit 1
|