X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Flint.sh;h=00c4a2c545218402502edfebac78a36eb112910b;hb=d0d1bbc89b4eabf5435babf548616253322b2b16;hp=c2b43ca689ea46406f8a90ae0b245ce0d554e224;hpb=241acfbd7e38ff9916100dac9d88892713f85c7f;p=mailer.git diff --git a/DOCS/lint.sh b/DOCS/lint.sh index c2b43ca689..00c4a2c545 100755 --- a/DOCS/lint.sh +++ b/DOCS/lint.sh @@ -1,7 +1,7 @@ #!/bin/sh echo "$0: Analysing PHP scripts for syntax errors (lint) ..." -LINT=`find -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"` +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}"