From 8daaf6cd8ab8fe8eca99ae2400e05f3942070f46 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 28 Sep 1998 15:58:14 +0000 Subject: [PATCH] Forgot to add specific files to sanitize section for dsp. --- .Sanitize | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.Sanitize b/.Sanitize index 4e3847877e6..4ba4ba2450d 100644 --- a/.Sanitize +++ b/.Sanitize @@ -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 -- 2.30.2