aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-03-26 17:03:04 +1100
committerDavid Symonds <dsymonds@golang.org>2012-03-26 17:03:04 +1100
commit072646cd172137bacf62008e4aa0f28fd7d58e95 (patch)
treef5e890a780f8199cd2490979f4e08520802772d1
parentf4fc8894241fa4f55075f0ad71398618f929356b (diff)
downloadgo-072646cd172137bacf62008e4aa0f28fd7d58e95.tar.gz
go-072646cd172137bacf62008e4aa0f28fd7d58e95.zip
run.bash: set -e in new codewalk block
Otherwise we won't fail if something goes wrong. This shell programming stuff is tricky. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5905062
-rwxr-xr-xsrc/run.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash
index ddd55826f7..c2a52a078e 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -76,6 +76,7 @@ make clean
(xcd ../doc/codewalk
# TODO: test these too.
+set -e
go build pig.go
go build urlpoll.go
rm -f pig urlpoll