mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-13 00:03:31 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user