From: Ian Lance Taylor Date: Thu, 20 Aug 1998 20:54:08 +0000 (+0000) Subject: Check whether any sanitized files are mentioned elsewhere. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6167c136c86679b5d533058ddd86126f3815c40;p=binutils-gdb.git Check whether any sanitized files are mentioned elsewhere. --- diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 23c3e2ce0b7..5eec4a68293 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -638,12 +638,21 @@ else done fi -for i in * ; do - if test ! -d $i && (grep sanitize $i > /dev/null) ; then - echo '***' Some mentions of Sanitize are still left in $i! 1>&2 - fi +for i in *; do + if test ! -d $i && (grep sanitize $i > /dev/null) ; then + echo '***' Some mentions of Sanitize are still left in bfd/$i! 1>&2 + fi done +for lost in .. $lose_these_too; do + if test $lost != ..; then + for i in Makefile.am Makefile.in config.bfd configure.host configure.in; do + if fgrep $lost $i >/dev/null 2>&1; then + echo '***' File $lost was sanitized out but is still mentioned in bfd/$i 1>&2 + fi + done + fi +done # This must come after all other sanitizations. Re-sanitize the .pot # file.