From ce71b617cf5c6bc6ce1634ed46567b677979a409 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 7 Aug 2011 00:57:39 +0000 Subject: [PATCH] grep-ing for global statements in security_functions.php is not required --- DOCS/final-checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh index 40526a7fc5..322b9382d0 100755 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -22,7 +22,7 @@ DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep echo " - DEPRECATED in XML..." DEPRECATED_XML=`find -type f -name "*.xml" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count` +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "security_functions.php" | grep -v "phpmailer" --count` echo "$0: Result..." echo "--------------------------------------" echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}/${TODOS_XML}" -- 2.39.5