From 10f1b5978b89872ff7e45e82c782f0eb24efab71 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 30 Jun 1994 23:19:26 +0000 Subject: [PATCH] Elim dup of file names --- ld/.Sanitize | 6 ++++-- opcodes/.Sanitize | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ld/.Sanitize b/ld/.Sanitize index d143e77ee7..7f36d07925 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -15,10 +15,12 @@ Do-first: +mpw_files="mpw-make.in mpw-config.in ChangeLog.mpw" + if ( echo $* | grep keep\-mpw > /dev/null ) ; then - keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw ${keep_these_too}" + keep_these_too="${mpw_files} ${keep_these_too}" else - lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw ${lose_these_too}" + lose_these_too="${mpw_files} ${lose_these_too}" fi if ( echo $* | grep keep\-gm > /dev/null ) ; then diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index d2c9dd1276..899e0bf823 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -11,14 +11,16 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: +mpw_files="mpw-make.in mpw-config.in ChangeLog.mpw" + if ( echo $* | grep keep\-mpw > /dev/null ) ; then - keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" + keep_these_too="${mpw_files} ${keep_these_too}" else - lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" + lose_these_too="${mpw_files} ${lose_these_too}" fi # All files listed between the "Things-to-keep:" line and the