summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Pérez <jaime.perez@uninett.no>2016-10-13 10:32:44 +0200
committerJaime Pérez <jaime.perez@uninett.no>2016-10-13 10:32:44 +0200
commitdcbd22581b26eefba9c2c14de1ccbedb4be4644d (patch)
tree6472eb737e597e3b77662f5dfeb3ca0e784dcafb
parenta2564d47b6bbc37ce59ed2685e9e6eae89782c20 (diff)
downloadsimplesamlphp-dcbd22581b26eefba9c2c14de1ccbedb4be4644d.zip
simplesamlphp-dcbd22581b26eefba9c2c14de1ccbedb4be4644d.tar.gz
simplesamlphp-dcbd22581b26eefba9c2c14de1ccbedb4be4644d.tar.bz2
Add "config-templates", "metadata-templates" and "templates" to the list of directories where we look for PHP files to check their syntax.
-rwxr-xr-xbin/check-syntax.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-syntax.sh b/bin/check-syntax.sh
index 0af1a43..0be70ba 100755
--- a/bin/check-syntax.sh
+++ b/bin/check-syntax.sh
@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
RETURN=0
# check PHP files
-for FILE in `find attributemap bin lib modules www -name "*.php"`; do
+for FILE in `find attributemap bin config-templates lib metadata-templates modules templates www -name "*.php"`; do
$PHP -l $FILE > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Syntax check failed for ${FILE}"