diff options
| author | fisherxu <xufei40@huawei.com> | 2022-04-11 17:37:10 +0800 |
|---|---|---|
| committer | fisherxu <xufei40@huawei.com> | 2022-04-18 10:46:17 +0800 |
| commit | 81673f164ea643d5cbf142b660204490264f7231 (patch) | |
| tree | 334ed204e98b295d9d97e8d40c0dc20f44e3b0c1 /hack/lib | |
| parent | Merge pull request #3788 from gy95/release (diff) | |
| download | kubeedge-81673f164ea643d5cbf142b660204490264f7231.tar.gz | |
remove gopath in makefile
Signed-off-by: fisherxu <xufei40@huawei.com>
Diffstat (limited to 'hack/lib')
| -rwxr-xr-x | hack/lib/golang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 1572b4b1e..7d4717050 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -148,7 +148,7 @@ kubeedge::golang::binaries_from_targets() { kubeedge::check::env() { errors=() - if [ -z $GOPATH ]; then + if [ -z $(go env GOPATH) ]; then errors+="GOPATH environment value not set" fi |
