aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-30 23:19:26 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-30 23:19:26 +0000
commit10f1b5978b89872ff7e45e82c782f0eb24efab71 (patch)
tree910f0c72ed1ce10559df09b302f32a461d540901 /opcodes/.Sanitize
parent7e6fc3a845647c49e98c8b06e9e23280945bd987 (diff)
downloadgdb-10f1b5978b89872ff7e45e82c782f0eb24efab71.zip
gdb-10f1b5978b89872ff7e45e82c782f0eb24efab71.tar.gz
gdb-10f1b5978b89872ff7e45e82c782f0eb24efab71.tar.bz2
Elim dup of file names
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize8
1 files changed, 5 insertions, 3 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index d2c9dd1..899e0bf 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