missing stuff for vr4xxx
authorGavin Romig-Koch <gavin@redhat.com>
Mon, 30 Nov 1998 19:28:22 +0000 (19:28 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Mon, 30 Nov 1998 19:28:22 +0000 (19:28 +0000)
gas/.Sanitize

index 4fb01935de0b4ebb1a5823ca619c231d5c0e90f2..f14d590615206b28651e6f5dcb25712ab5f7d45a 100644 (file)
@@ -499,6 +499,34 @@ else
        done
 fi
 
+vr4xxx_files="ChangeLog"
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+       for i in $vr4xxx_files ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4xxx stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $vr4xxx_files ; do
+               if test -r $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4xxx\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4xxx/,/end\-sanitize\-vr4xxx/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 configure"
 if ( echo $* | grep keep\-beos > /dev/null ) ; then
        for i in $beos_files ; do