Elim dup of file names

This commit is contained in:
Stan Shebs 1994-06-30 23:19:26 +00:00
parent 7e6fc3a845
commit 10f1b5978b
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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