don't strip unstrippable things

This commit is contained in:
Dave Murphy 2008-05-05 10:33:05 +00:00
parent d08f5a00db
commit 1cac51ea3c

View File

@ -515,7 +515,11 @@ for f in $INSTALLDIR/$package/bin/* \
$INSTALLDIR/$package/$target/bin/* \
$INSTALLDIR/$package/libexec/gcc/$target/$GCC_VER/*
do
strip $f
# exclude dll for windows, directories & the gccbug text file
if ! [[ "$f" == *.dll || -d $f || "$f" == *-gccbug ]]
then
strip $f
fi
done
#---------------------------------------------------------------------------------