diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-02 13:16:26 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-02 13:16:43 -0300 |
commit | 77074d55bc3215854920bee5df098208e3af50d5 (patch) | |
tree | f0d41cac7e5e76acf303d8439db819c1aebc97ae /tools | |
parent | c8faf384eba82e6481b4ae7249134ffde1267bdb (diff) | |
download | pfsense-77074d55bc3215854920bee5df098208e3af50d5.zip pfsense-77074d55bc3215854920bee5df098208e3af50d5.tar.gz |
Read output line by line
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_snapshots.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |