From cfa4c5224bed6740651dbb680ac7aa8b1445c80a Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 4 Sep 2015 06:56:17 -0300 Subject: Fix output capture taking stderr into consideration --- tools/build_snapshots.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh index 8bc975f..0c65d58 100755 --- a/tools/build_snapshots.sh +++ b/tools/build_snapshots.sh @@ -88,11 +88,11 @@ git_last_commit while [ /bin/true ]; do BUILDCOUNTER=$((${BUILDCOUNTER}+1)) - ${BUILDER_ROOT}/build.sh --clean-builder | while read LINE; do + (${BUILDER_ROOT}/build.sh --clean-builder 2>&1) | while read LINE; do ${BUILDER_ROOT}/build.sh --snapshot-update-status "${LINE}" done - ${BUILDER_ROOT}/build.sh ${NO_UPLOAD} --flash-size '1g 2g 4g' --snapshots | while read LINE; do + (${BUILDER_ROOT}/build.sh ${NO_UPLOAD} --flash-size '1g 2g 4g' --snapshots 2>&1) | while read LINE; do ${BUILDER_ROOT}/build.sh --snapshot-update-status "${LINE}" done -- cgit v1.1