diff options
author | Jaime Pérez <jaime.perez@uninett.no> | 2016-10-13 10:32:44 +0200 |
---|---|---|
committer | Jaime Pérez <jaime.perez@uninett.no> | 2016-10-13 10:32:44 +0200 |
commit | dcbd22581b26eefba9c2c14de1ccbedb4be4644d (patch) | |
tree | 6472eb737e597e3b77662f5dfeb3ca0e784dcafb | |
parent | a2564d47b6bbc37ce59ed2685e9e6eae89782c20 (diff) | |
download | simplesamlphp-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-x | bin/check-syntax.sh | 2 |
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}" |