diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-04 07:51:02 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-04 07:51:02 -0300 |
commit | 57217e9752b6489c324d3f35888651a44dbabf87 (patch) | |
tree | 6953fe7dd7acdd7e6bdaf51e7a9acada227deaac /tools | |
parent | 98a4b7a0394cd312e44d3210e277ab9329fa6b63 (diff) | |
download | pfsense-57217e9752b6489c324d3f35888651a44dbabf87.zip pfsense-57217e9752b6489c324d3f35888651a44dbabf87.tar.gz |
Use read -r to make sure we print lines as they are
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 0c65d58..b78611f 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 2>&1) | while read LINE; do + (${BUILDER_ROOT}/build.sh --clean-builder 2>&1) | while read -r LINE; do ${BUILDER_ROOT}/build.sh --snapshot-update-status "${LINE}" done - (${BUILDER_ROOT}/build.sh ${NO_UPLOAD} --flash-size '1g 2g 4g' --snapshots 2>&1) | while read LINE; do + (${BUILDER_ROOT}/build.sh ${NO_UPLOAD} --flash-size '1g 2g 4g' --snapshots 2>&1) | while read -r LINE; do ${BUILDER_ROOT}/build.sh --snapshot-update-status "${LINE}" done |