1
0
Fork 0
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:
Shivaram Lingamneni 2019-02-21 05:43:15 -05:00
parent 00c62ddabe
commit 4af56f2dae

View file

@ -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