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:
parent
00c62ddabe
commit
4af56f2dae
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ -z "$GOPATH" ]; then
|
if [ -z "$GOPATH" ]; then
|
||||||
echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
|
echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user