From 3692318175e334b723d38e0df0bb61d30a0b5660 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Sun, 22 Jan 2012 14:45:40 +0100 Subject: [PATCH] Fixed source-maintenance.sh Updated guard against checking squid-old.h Prevented checking libTrie as it uses its own config.h --- scripts/source-maintenance.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/source-maintenance.sh b/scripts/source-maintenance.sh index 4aa0b66b70..e0c3f91326 100755 --- a/scripts/source-maintenance.sh +++ b/scripts/source-maintenance.sh @@ -79,7 +79,7 @@ for FILENAME in `ls -1`; do ;; *.h|*.cci) FI=`grep "#include \"squid.h\"" ${FILENAME}`; - if test "x${FI}" != "x" -a "${FILENAME}" != "squid.h"; then + if test "x${FI}" != "x" -a "${FILENAME}" != "squid-old.h" ; then echo "ERROR: ${PWD}/${FILENAME} duplicate include of squid.h" fi ;; @@ -111,7 +111,7 @@ for FILENAME in `ls -1`; do esac - if test "$FILENAME" = "libltdl" ; then + if test "$FILENAME" = "libltdl" -o "$FILENAME" = "libTrie" ; then : elif test -d $FILENAME ; then cd $FILENAME -- 2.47.3