From f0af13f31755332e1e7fc641b1693f00e6e033d6 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 12 Jul 2016 08:34:03 +0200 Subject: Fix cibuild.sh, forgot to redirect stderr to stdout. --- scripts/cibuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/cibuild.sh') 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." -- cgit v1.2.3