no longer sanitize out MPW support files
authorStan Shebs <shebs@codesourcery.com>
Mon, 10 Apr 1995 20:05:48 +0000 (20:05 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 10 Apr 1995 20:05:48 +0000 (20:05 +0000)
.Sanitize

index 5ea1df9..6429d72 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -31,20 +31,6 @@ else
        lose_these_too="${lose_these_too} ${cygnus_files}"
 fi
 
-mpw_files="mpw-README mpw-configure mpw-config.in mpw-build.in ChangeLog.mpw"
-
-if ( echo $* | grep keep\-mpw > /dev/null) ; then
-       keep_these_too="${keep_these_too} ${mpw_files}"
-       if [ -n "${verbose}" ] ; then
-               echo Keeping ${mpw_files}
-       fi
-else
-       lose_these_too="${lose_these_too} ${mpw_files}"
-       if [ -n "${verbose}" ] ; then
-               echo Deleting ${mpw_files}
-       fi
-fi
-
 gdbtk_files="tcl tk"
 
 if ( echo $* | grep lose\-gdbtk > /dev/null) ; then
@@ -103,6 +89,10 @@ etc
 # These will only show up if they checked out gas-extra-stuff.
 configure.bat
 makeall.bat
+mpw-README
+mpw-configure
+mpw-config.in
+mpw-build.in
 
 Things-to-lose:
 
@@ -164,37 +154,6 @@ else
 fi
 
 if [ -n "${verbose}" ] ; then
-       echo Removing traces of \"mpw\"...
-fi
-
-if ( echo $* | grep keep\-mpw > /dev/null ) ; then
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Keeping mpw stuff in $i
-                       fi
-               fi
-       done
-else
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"mpw\" from $i...
-                       fi
-                       cp $i new
-                       sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/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
-
-if [ -n "${verbose}" ] ; then
        echo Processing \"arc\"...
 fi