summaryrefslogtreecommitdiff
path: root/doc/progs/run
diff options
context:
space:
mode:
Diffstat (limited to 'doc/progs/run')
-rwxr-xr-xdoc/progs/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/progs/run b/doc/progs/run
index c0e4b53e0..07bc141df 100755
--- a/doc/progs/run
+++ b/doc/progs/run
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
+set -e
+
GOBIN="${GOBIN:-$HOME/bin}"
. "$GOROOT"/src/Make.$GOARCH