m32rx -> cygnus sanitization change.
authorJeff Law <law@redhat.com>
Fri, 5 Feb 1999 17:39:42 +0000 (17:39 +0000)
committerJeff Law <law@redhat.com>
Fri, 5 Feb 1999 17:39:42 +0000 (17:39 +0000)
sim/testsuite/.Sanitize
sim/testsuite/m32r-elf/.Sanitize
sim/testsuite/sim/m32r/.Sanitize

index 1d2f7106ee7814226f72417c5f4da42cdeb42780..8dbbe2fdcf9c6473dfb00178b658da00638370b5 100644 (file)
@@ -114,23 +114,23 @@ else
         done
 fi
 
-m32rx_files="configure configure.in ChangeLog"
-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
+cygnus_files="configure configure.in ChangeLog"
+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 m32rx stuff in $i
+                                echo Keeping cygnus stuff in $i
                         fi
                 fi
         done
 else
-        for i in $m32rx_files ; do
-                if test ! -d $i && (grep sanitize-m32rx $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 \"m32rx\" from $i...
+                                echo Removing traces of \"cygnus\" from $i...
                         fi
                         cp $i new
-                        sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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...
index dbf61fa8b2d2d2c580be9d6b29903b1f99616e59..bdcddb51fed0afced2f22caa1e679fd6350dab82 100644 (file)
 
 Do-first:
 
-#m32rx_files="..."
-#if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
-#        keep_these_too="${m32rx_files} ${keep_these_too}"
-#else
-#        lose_these_too="${m32rx_files} ${lose_these_too}"
-#fi
-
 # All files listed between the "Things-to-keep:" line and the
 # "Files-to-sed:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize
@@ -42,32 +35,4 @@ Things-to-lose:
 
 Do-last:
 
-m32rx_files="ChangeLog Makefile.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 $m32rx_files ; 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
-
 # End of file.
index 6c2bde77187cb60147642edd70f41e75877d32f1..6eb85f71f8ee1ccf4b14ba314d9c9f4a3c65bf2d 100644 (file)
@@ -15,7 +15,7 @@
 
 Do-first:
 
-m32rx_files="
+cygnus_files="
 bcl24.cgs
 bcl8.cgs
 bncl24.cgs
@@ -54,10 +54,10 @@ sath.cgs
 sc.cgs
 snc.cgs"
 
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
-       keep_these_too="${m32rx_files} ${keep_these_too}"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+       keep_these_too="${cygnus_files} ${keep_these_too}"
 else
-       lose_these_too="${m32rx_files} ${lose_these_too}"
+       lose_these_too="${cygnus_files} ${lose_these_too}"
 fi
 
 Things-to-keep:
@@ -177,23 +177,23 @@ Things-to-lose:
 
 Do-last:
 
-m32rx_files="allinsn.exp misc.exp testutils.inc"
-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
+cygnus_files="allinsn.exp misc.exp testutils.inc"
+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 m32rx stuff in $i
+                               echo Keeping cygnus stuff in $i
                        fi
                fi
        done
 else
-       for i in $m32rx_files ; do
-               if test ! -d $i && (grep sanitize-m32rx $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 \"m32rx\" from $i...
+                               echo Removing traces of \"cygnus\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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...
@@ -203,13 +203,13 @@ else
                        mv new $i
                fi
        done
-       # Remove m32rx from `mach'.
+       # Remove cygnus from `mach'.
        for i in *.cgs ; do
                if [ -n "${verbose}" ] ; then
-                       echo Removing traces of \"m32rx\" from $i...
+                       echo Removing traces of \"cygnus\" from $i...
                fi
                cp $i new
-               sed -e 's/m32rx//' < $i > new
+               sed -e 's/cygnus//' < $i > new
                if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                        if [ -n "${verbose}" ] ; then
                                echo Caching $i in .Recover...