am33 is now kept with --keep-cygnus.
authorJeff Law <law@redhat.com>
Tue, 26 Jan 1999 14:02:27 +0000 (14:02 +0000)
committerJeff Law <law@redhat.com>
Tue, 26 Jan 1999 14:02:27 +0000 (14:02 +0000)
sim/mn10300/.Sanitize

index 22d4130d0b485dd498e065fcd587217e072a2460..cb8dfa78887e1ed44219617ed1fd77611d019f67 100644 (file)
 
 Do-first:
 
-am33_files="am33.igen"
-if ( echo $* | grep keep\-am33 > /dev/null ) ; then
-        keep_these_too="${am33_files} ${keep_these_too}"
+cygnus_files="am33.igen"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+        keep_these_too="${cygnus_files} ${keep_these_too}"
 else
-        lose_these_too="${am33_files} ${lose_these_too}"
+        lose_these_too="${cygnus_files} ${lose_these_too}"
 fi
 
 
@@ -57,23 +57,23 @@ Things-to-lose:
 
 Do-last:
 
-am33_files="ChangeLog mn10300_sim.h mn10300.igen Makefile.in"
-if ( echo $* | grep keep\-am33 > /dev/null ) ; then
-        for i in $am33_files ; do
-                if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+cygnus_files="ChangeLog mn10300_sim.h mn10300.igen Makefile.in"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+        for i in $cygnus_files ; do
+                if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Keeping am33 stuff in $i
                         fi
                 fi
         done
 else
-        for i in $am33_files ; do
-                if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+        for i in $cygnus_files ; do
+                if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Removing traces of \"am33\" from $i...
                         fi
                         cp $i new
-                        sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/d' < $i > new
+                        sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
                         if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                 if [ -n "${verbose}" ] ; then
                                         echo Caching $i in .Recover...