From 77074d55bc3215854920bee5df098208e3af50d5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 2 Aug 2016 13:16:26 -0300 Subject: Read output line by line --- tools/build_snapshots.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh index 779ab40..6b326bd 100755 --- a/tools/build_snapshots.sh +++ b/tools/build_snapshots.sh @@ -194,6 +194,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 @@ -215,6 +218,7 @@ while [ /bin/true ]; do snapshot_update_status "${LINE}" done fi + IFS=${OIFS} if [ -z "${LOOPED_SNAPSHOTS}" ]; then # only one build required, exiting -- cgit v1.1