]> git.mxchange.org Git - mailer.git/blobdiff - DOCS/lint.sh
Title rows added to several table, naming convention applied:
[mailer.git] / DOCS / lint.sh
index 2f79ca40f598645cf8fe771f99f6c77ac9146156..00c4a2c545218402502edfebac78a36eb112910b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-echo "$0: Analysing PHP script for syntax errors (lint) ..."
-LINT=`find -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"`
+echo "$0: Analysing PHP scripts for syntax errors (lint) ..."
+LINT=`find -type f -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"`
 
 if test "${LINT}" != ""; then
        echo "${LINT}"