X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Ffinal-checker.sh;h=4f3acbaa9a00f46f30116c57365bcd8552824a5e;hb=7f36841b29c6f63f813ee3b37f6fdc2987a91c14;hp=665cb34a6000ef4a386a5e2271ccf0310bfa585e;hpb=5e1a9e64cac94cf48e754b95366f1a82febb2b5d;p=mailer.git diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh old mode 100644 new mode 100755 index 665cb34a60..4f3acbaa9a --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -16,12 +16,12 @@ DEPRECATED_PHP=`find -type f -name "*.php" -exec grep "@DEPRECATED" {} \; | grep echo " - DEPRECATED TPL..." DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \;|grep -v "//"| grep -v "phpmailer"|grep -v "/language/"|grep -v "EXT_" --count` +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count` echo "$0: Result..." echo "--------------------------------------" echo " - Open TODOs: ${TODOS}" echo " - Open DEPRECATED (PHP/TPL): ${DEPRECATED_PHP}/${DEPRECATED_TPL}" -echo " - Global statements: ${GLOBA:S}" +echo " - global statements: ${GLOBALS}" echo "--------------------------------------" echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)" echo