From: David Edelsohn Date: Tue, 25 Jul 1995 22:05:00 +0000 (+0000) Subject: Clean up handling of COPYING.NEWLIB. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8205c908ea3ec5f4429d37c003b8a50e426d28b;p=binutils-gdb.git Clean up handling of COPYING.NEWLIB. --- 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