summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-02 13:16:26 -0300
committerRenato Botelho <renato@netgate.com>2016-08-02 13:16:26 -0300
commitacf4481fa9c12c1c90839155e50c3b2a05931a09 (patch)
treec9a219efd1787af0b989ef58fe4bac99011ad8f6
parentb34d81cec88de4fa4713d7f8d853a3c527f983e0 (diff)
downloadpfsense-acf4481fa9c12c1c90839155e50c3b2a05931a09.zip
pfsense-acf4481fa9c12c1c90839155e50c3b2a05931a09.tar.gz
Read output line by line
-rwxr-xr-xtools/build_snapshots.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh
index 1b8793a..b62242c 100755
--- a/tools/build_snapshots.sh
+++ b/tools/build_snapshots.sh
@@ -162,6 +162,9 @@ while [ /bin/true ]; do
git_last_commit
+ OIFS=${IFS}
+ IFS="
+"
if [ -n "${POUDRIERE_SNAPSHOTS}" ]; then
(${BUILDER_ROOT}/build.sh --update-poudriere-ports 2>&1) \
| while read -r LINE; do
@@ -184,6 +187,7 @@ while [ /bin/true ]; do
snapshot_update_status "${LINE}"
done
fi
+ IFS=${OIFS}
if [ -z "${LOOPED_SNAPSHOTS}" ]; then
# only one build required, exiting
OpenPOWER on IntegriCloud