sanitization fix.

This commit is contained in:
Felix Lee 1998-12-18 16:49:08 +00:00
parent 1e012f703e
commit c80fb0d3cd

View File

@ -133,6 +133,23 @@ z8kgen.c
Things-to-lose:
Do-last:
never_files="Makefile.am Makefile.in"
for i in $never_files ; do
if test ! -d $i && (grep sanitize-cygnus-never $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"cygnus-never\" from $i...
fi
cp $i new
sed '/start\-sanitize\-cygnus-never/,/end\-sanitize\-cygnus-never/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
cygnus_files="ChangeLog Makefile.am Makefile.in configure.in configure"
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then