Skip to content
Permalink
Browse files

Fix cibuild.sh, forgot to redirect stderr to stdout.

  • Loading branch information...
respawner committed Jul 12, 2016
1 parent d6c4a03 commit f0af13f31755332e1e7fc641b1693f00e6e033d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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."

0 comments on commit f0af13f

Please sign in to comment.
You can’t perform that action at this time.