Added m32rx sanitization
authorNick Clifton <nickc@redhat.com>
Tue, 16 Dec 1997 14:44:16 +0000 (14:44 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 16 Dec 1997 14:44:16 +0000 (14:44 +0000)
.Sanitize

index 8653a4edc1a556f57ea2c64dcc7cc6baeaaf8417..dae079fa977e338f761b7caeb0a237653f7bf8d0 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -470,6 +470,34 @@ 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
+
 # Do this check LAST!
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
This page took 0.02559 seconds and 4 git commands to generate.