From 072646cd172137bacf62008e4aa0f28fd7d58e95 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 26 Mar 2012 17:03:04 +1100 Subject: [PATCH] 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 --- src/run.bash | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.0