]> Cypherpunks repositories - gostls13.git/commitdiff
run.bash: set -e in new codewalk block
authorRob Pike <r@golang.org>
Mon, 26 Mar 2012 06:03:04 +0000 (17:03 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 26 Mar 2012 06:03:04 +0000 (17:03 +1100)
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

src/run.bash

index ddd55826f7c6ef14255540ab94147ac2e794babb..c2a52a078ecb97d642625a589865b415dde1fc09 100755 (executable)
@@ -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