Commit faedadce authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #314 from heroku/no-err-on-output

output stream errors should not fail the build
parents 8010e251 e026278d
info() { info() {
echo " $*" echo " $*" || true
} }
# format output and send a copy to the log # format output and send a copy to the log
...@@ -8,17 +8,17 @@ output() { ...@@ -8,17 +8,17 @@ output() {
while read LINE; while read LINE;
do do
echo " $LINE" echo " $LINE" || true
echo "$LINE" >> "$logfile" echo "$LINE" >> "$logfile" || true
done done
} }
header() { header() {
echo "" echo "" || true
echo "-----> $*" echo "-----> $*" || true
} }
error() { error() {
echo " ! $*" >&2 echo " ! $*" >&2 || true
echo "" echo "" || true
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment