]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed source-maintenance.sh
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 22 Jan 2012 13:45:40 +0000 (14:45 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 22 Jan 2012 13:45:40 +0000 (14:45 +0100)
Updated guard against checking squid-old.h
Prevented checking libTrie as it uses its own config.h

scripts/source-maintenance.sh

index 4aa0b66b703c036a1fd7d0d55e59485c9aaef92e..e0c3f91326699f5fb4478c51787879ef60b92993 100755 (executable)
@@ -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