Forgot to add specific files to sanitize section for dsp.

This commit is contained in:
Jeff Johnston 1998-09-28 15:58:14 +00:00
parent d46c1ae39a
commit 8daaf6cd8a
1 changed files with 29 additions and 0 deletions

View File

@ -687,6 +687,35 @@ else
done
fi
dsp_files="ChangeLog Makefile.in configure.in"
if ( echo $* | grep keep\-dsp > /dev/null ) ; then
for i in $dsp_files ; do
if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping dsp stuff in $i
fi
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"dsp\" from $i...
fi
cp $i new
sed '/start\-sanitize\-dsp/,/end-\sanitize\-dsp/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
beos_files="ChangeLog configure.in"
if ( echo $* | grep keep\-beos > /dev/null ) ; then
for i in $beos_files ; do