summaryrefslogtreecommitdiffstats
path: root/tools/build_snapshots.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-04 06:56:17 -0300
committerRenato Botelho <renato@netgate.com>2015-09-04 06:56:17 -0300
commitcfa4c5224bed6740651dbb680ac7aa8b1445c80a (patch)
tree37c4194fe8c866e0e49b2af0407d903817104b18 /tools/build_snapshots.sh
parent057109ef4ab44e335d777ba91f663df5de1fb86a (diff)
downloadpfsense-cfa4c5224bed6740651dbb680ac7aa8b1445c80a.zip
pfsense-cfa4c5224bed6740651dbb680ac7aa8b1445c80a.tar.gz
Fix output capture taking stderr into consideration
Diffstat (limited to 'tools/build_snapshots.sh')
-rwxr-xr-xtools/build_snapshots.sh4
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
OpenPOWER on IntegriCloud