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 4707a0a..67faaa8 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 8279606..28e7f28 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 cbbf57e..3a2d8c8 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