summaryrefslogtreecommitdiffstats
path: root/tools/build_snapshots.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-04 07:51:02 -0300
committerRenato Botelho <renato@netgate.com>2015-09-04 07:51:02 -0300
commit57217e9752b6489c324d3f35888651a44dbabf87 (patch)
tree6953fe7dd7acdd7e6bdaf51e7a9acada227deaac /tools/build_snapshots.sh
parent98a4b7a0394cd312e44d3210e277ab9329fa6b63 (diff)
downloadpfsense-57217e9752b6489c324d3f35888651a44dbabf87.zip
pfsense-57217e9752b6489c324d3f35888651a44dbabf87.tar.gz
Use read -r to make sure we print lines as they are
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 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
OpenPOWER on IntegriCloud