aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-07-25 22:05:00 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-07-25 22:05:00 +0000
commitc8205c908ea3ec5f4429d37c003b8a50e426d28b (patch)
treea3e29064a12dafaeca2d3b0886716e7de25b3d6b /.Sanitize
parent1789d5d57997dc7bd2cbd8c8d44e87af3815f8b5 (diff)
downloadgdb-c8205c908ea3ec5f4429d37c003b8a50e426d28b.zip
gdb-c8205c908ea3ec5f4429d37c003b8a50e426d28b.tar.gz
gdb-c8205c908ea3ec5f4429d37c003b8a50e426d28b.tar.bz2
Clean up handling of COPYING.NEWLIB.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize11
1 files changed, 7 insertions, 4 deletions
diff --git a/.Sanitize b/.Sanitize
index f282607..0004600 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -81,12 +81,15 @@ else
fi
# This is for newlib net releases.
-newlib_files="COPYING.NEWLIB"
+newlib_file="COPYING.NEWLIB"
-if ( echo $* | grep keep\-newlib > /dev/null) ; then
- keep_these_too="${keep_these_too} ${newlib_files}"
+if (echo $* | grep keep\-newlib > /dev/null) ; then
+ if (echo $* | grep -v keep\-cygnus > /dev/null) ; then
+ keep_these_too="${keep_these_too} ${newlib_file}"
+ lose_these_too="`echo ${lose_these_too} | sed -e s/${newlib_file}//`"
+ fi
else
- lose_these_too="${lose_these_too} ${newlib_files}"
+ true; # Let keep-cygnus handle it.
fi
# This top-level directory is special. We often check out only subsets