diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-07-12 08:34:03 +0200 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-07-12 08:34:03 +0200 |
commit | f0af13f31755332e1e7fc641b1693f00e6e033d6 (patch) | |
tree | e03df81de9634b4ce04d2b0f3ceabf5815408912 /scripts/cibuild.sh | |
parent | d6c4a03aca0a7b052c3ff5cb48c6455245f61d72 (diff) |
Fix cibuild.sh, forgot to redirect stderr to stdout.
Diffstat (limited to 'scripts/cibuild.sh')
-rwxr-xr-x | scripts/cibuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cibuild.sh b/scripts/cibuild.sh index 11e1fa2..beb1428 100755 --- a/scripts/cibuild.sh +++ b/scripts/cibuild.sh @@ -12,7 +12,7 @@ START=$(date +%s) echo "$(info) starting build checks." # Syntax check all php files -SYNTAX=$(find . -name "*.php" -type f -exec php --syntax-check {} \; > /dev/null) +SYNTAX=$(find . -name "*.php" -type f -exec php --syntax-check {} \; 2>&1 > /dev/null) if [[ ! -z ${SYNTAX} ]]; then echo -e "${SYNTAX}" echo -e "\n$(info) detected one or more syntax errors, failing build." |