Elim dup of file names
This commit is contained in:
parent
7e6fc3a845
commit
10f1b5978b
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue