m32rx -> cygnus sanitization changes.

This commit is contained in:
Jeff Law 1999-02-05 17:49:42 +00:00
parent 579d9a9749
commit 37c5a28b29

View File

@ -571,7 +571,7 @@ else
done
fi
cygnus_files="ChangeLog config.sub"
cygnus_files="ChangeLog config.sub config-ml.in"
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
for i in $cygnus_files ; do
@ -600,34 +600,6 @@ else
done
fi
m32rx_files="ChangeLog config-ml.in"
if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
for i in $m32rx_files ; do
if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping m32rx stuff in $i
fi
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"m32rx\" from $i...
fi
cp $i new
sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
fi
mv $i .Recover
fi
mv new $i
fi
done
fi
java_files="ChangeLog Makefile.in configure.in"
if ( echo $* | grep keep\-java > /dev/null ) ; then
for i in $java_files ; do