From: Francesco Chemolli Date: Sun, 22 Jan 2012 13:45:40 +0000 (+0100) Subject: Fixed source-maintenance.sh X-Git-Tag: BumpSslServerFirst.take05~12^2~73^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3692318175e334b723d38e0df0bb61d30a0b5660;p=thirdparty%2Fsquid.git Fixed source-maintenance.sh Updated guard against checking squid-old.h Prevented checking libTrie as it uses its own config.h --- 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