mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
check for mentions of sanitized files
This commit is contained in:
@ -522,11 +522,20 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for i in * ; do
|
for i in * ; do
|
||||||
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
||||||
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
echo '***' Some mentions of Sanitize are still left in gas/$i! 1>&2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for lost in .. $lose_these_too; do
|
||||||
|
if test $lost != ..; then
|
||||||
|
for i in Makefile.am Makefile.in configure.in configure; do
|
||||||
|
if fgrep $lost $i >/dev/null 2>&1; then
|
||||||
|
echo '***' File $lost was sanitized out but is still mentioned in gas/$i 1>&2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# This must come after all other sanitizations. Re-sanitize the .pot
|
# This must come after all other sanitizations. Re-sanitize the .pot
|
||||||
# file.
|
# file.
|
||||||
|
@ -517,9 +517,21 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for i in * ; do
|
for i in * ; do
|
||||||
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
||||||
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
echo '***' Some mentions of Sanitize are still left in gas/config/$i! 1>&2
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for lost in .. $lose_these_too; do
|
||||||
|
if test $lost != ..; then
|
||||||
|
for i in Makefile.am Makefile.in configure.in configure; do
|
||||||
|
if test -f ../$i; then
|
||||||
|
if fgrep $lost ../$i >/dev/null 2>&1; then
|
||||||
|
echo '***' File gas/config/$lost was sanitized out but is still mentioned in gas/$i 1>&2
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
|
Reference in New Issue
Block a user