From e4c7516baa7149615a81db566a538f1299513ee8 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 11 Jan 1994 01:15:02 +0000 Subject: [PATCH] Set lose_these_too correctly --- bfd/.Sanitize | 13 +++++++++---- bfd/hosts/.Sanitize | 2 ++ opcodes/.Sanitize | 11 ++++++++--- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 4707a0af8ea..67faaa83e26 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -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 diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index 8279606a5b3..28e7f280eb9 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -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 diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index cbbf57e29bf..3a2d8c8210e 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -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 -- 2.30.2