Set lose_these_too correctly
authorStan Shebs <shebs@codesourcery.com>
Tue, 11 Jan 1994 01:15:02 +0000 (01:15 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 11 Jan 1994 01:15:02 +0000 (01:15 +0000)
bfd/.Sanitize
bfd/hosts/.Sanitize
opcodes/.Sanitize

index 4707a0af8ea092df96eb50dc1aa8319fe724ab66..67faaa83e268a262215b747f68658aaae3db583e 100644 (file)
@@ -22,10 +22,15 @@ else
 fi
 
 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
-       keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw"
-       if ( echo $* | grep keep\-gm > /dev/null ) ; then
-               keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
-       fi
+       keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
+else
+       lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
+fi
+
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+       keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
+else
+       lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
 fi
 
 # All files listed between the "Things-to-keep:" line and the
index 8279606a5b3dda1bf0aded15342abc0e1d9981ef..28e7f280eb9d6a0efcaa39744cc89c637bb439a6 100644 (file)
@@ -17,6 +17,8 @@ Do-first:
 
 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
        keep_these_too="mpw.h"
+else
+       lose_these_too="mpw.h"
 fi
 
 # All files listed between the "Things-to-keep:" line and the
index cbbf57e29bfeba9112d441b2696ac4a33ba4a4bc..3a2d8c8210ef134cf5ad4747ece46f124bec798b 100644 (file)
@@ -17,9 +17,14 @@ Do-first:
 
 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
        keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw"
-       if ( echo $* | grep keep\-gm > /dev/null ) ; then
-               keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
-       fi
+else
+       lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw"
+fi
+
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+       keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
+else
+       lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
 fi
 
 # All files listed between the "Things-to-keep:" line and the