소스 검색

add missing `set -e`

ensuring that install.sh exits 1 if `go install` fails,
which ensures that make sees the failure
tags/v1.1.0-rc1
Shivaram Lingamneni 5 년 전
부모
커밋
4af56f2dae
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      install.sh

+ 2
- 0
install.sh 파일 보기

@@ -1,5 +1,7 @@
1 1
 #!/bin/bash
2 2
 
3
+set -e
4
+
3 5
 if [ -z "$GOPATH" ]; then
4 6
 	echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
5 7
 	exit 1

Loading…
취소
저장