3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 05:49:25 +01: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:
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