diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-04 06:56:17 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-04 06:56:17 -0300 |
commit | cfa4c5224bed6740651dbb680ac7aa8b1445c80a (patch) | |
tree | 37c4194fe8c866e0e49b2af0407d903817104b18 /tools | |
parent | 057109ef4ab44e335d777ba91f663df5de1fb86a (diff) | |
download | pfsense-cfa4c5224bed6740651dbb680ac7aa8b1445c80a.zip pfsense-cfa4c5224bed6740651dbb680ac7aa8b1445c80a.tar.gz |
Fix output capture taking stderr into consideration
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_snapshots.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |