From 4fb3a01f25480030d3dc413993f41fc8dbd5c394 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Thu, 17 Oct 2013 10:02:59 -0600 Subject: [PATCH] Update build script to fail on error. --- build | 1 + test.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/build b/build index 9c2f95f6ae5..8e76b4c86ea 100755 --- a/build +++ b/build @@ -1,4 +1,5 @@ #!/bin/sh +set -e ETCD_PACKAGE=github.com/coreos/etcd export GOPATH="${PWD}" diff --git a/test.sh b/test.sh index 9695e70c2c2..31196f7eccc 100755 --- a/test.sh +++ b/test.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # Get GOPATH, etc from build . ./build