summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2022-04-21 21:07:11 +0800
committerGitHub <noreply@github.com>2022-04-21 21:07:11 +0800
commit4fb8696a2ab2d0e63f8edf59cc3b5d2f2bd93317 (patch)
tree2161ff08605db36c949c7b674a8b6465754e3ea1 /hack
parentMerge pull request #3770 from TianTianBigWang/fix/devicetwin-typer (diff)
parentremove gopath in makefile (diff)
downloadkubeedge-4fb8696a2ab2d0e63f8edf59cc3b5d2f2bd93317.tar.gz
Merge pull request #3780 from fisherxu/remove-gopath
Remove gopath in makefile
Diffstat (limited to 'hack')
-rwxr-xr-xhack/lib/golang.sh2
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