Browse Source

add missing `set -e`

ensuring that install.sh exits 1 if `go install` fails,
which ensures that make sees the failure
tags/v1.1.0-rc1
Shivaram Lingamneni 5 years ago
parent
commit
4af56f2dae
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      install.sh

+ 2
- 0
install.sh View File

1
 #!/bin/bash
1
 #!/bin/bash
2
 
2
 
3
+set -e
4
+
3
 if [ -z "$GOPATH" ]; then
5
 if [ -z "$GOPATH" ]; then
4
 	echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
6
 	echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
5
 	exit 1
7
 	exit 1

Loading…
Cancel
Save