forked from External/ergo
add missing set -e
ensuring that install.sh exits 1 if `go install` fails, which ensures that make sees the failure
This commit is contained in:
parent
00c62ddabe
commit
4af56f2dae
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$GOPATH" ]; then
|
||||
echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue