From c6167c136c86679b5d533058ddd86126f3815c40 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 20 Aug 1998 20:54:08 +0000 Subject: [PATCH] Check whether any sanitized files are mentioned elsewhere. --- bfd/.Sanitize | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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. -- 2.30.2