File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if [ ! -d $current ] && [ ! -f $current ] ; then
1616fi
1717
1818echo " Checking PHP files..."
19- for file in ` find $current -type f -name " *.php" ` ; do
19+ for file in ` find $current -type f -name " *.php" -not -path " ${current} fm/* " ` ; do
2020 RESULTS=` php -l -n $file `
2121
2222 if [ " $RESULTS " != " No syntax errors detected in $file " ] ; then
@@ -26,7 +26,7 @@ for file in `find $current -type f -name "*.php"` ; do
2626done
2727
2828echo " Checking HTML/PHP combined files..."
29- for file in ` find $current -type f -name " *.html" ` ; do
29+ for file in ` find $current -type f -name " *.html" -not -path " ${current} fm/* " ` ; do
3030 RESULTS=` php -l -n $file `
3131
3232 if [ " $RESULTS " != " No syntax errors detected in $file " ] ; then
@@ -39,4 +39,4 @@ if [ "$error" = true ] ; then
3939 exit 1
4040else
4141 exit 0
42- fi
42+ fi
You can’t perform that action at this time.
0 commit comments