From c8205c908ea3ec5f4429d37c003b8a50e426d28b Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 25 Jul 1995 22:05:00 +0000 Subject: [PATCH] Clean up handling of COPYING.NEWLIB. --- .Sanitize | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.Sanitize b/.Sanitize index f28260731f4..0004600097a 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 -- 2.30.2