From: Rob Pike Date: Mon, 26 Mar 2012 06:03:04 +0000 (+1100) Subject: run.bash: set -e in new codewalk block X-Git-Tag: weekly~43 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=072646cd172137bacf62008e4aa0f28fd7d58e95;p=gostls13.git 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 --- 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