summaryrefslogtreecommitdiff
path: root/hack/lib/install.sh
diff options
context:
space:
mode:
authorgy95 <guoyao17@huawei.com>2022-04-22 17:00:37 +0800
committergy95 <guoyao17@huawei.com>2022-09-22 14:44:06 +0800
commitd887c7c416f3f38ec4b69241229289fe62ba1bbf (patch)
treee61fa01a5144b524861a99ed5d3dae500541e221 /hack/lib/install.sh
parentMerge pull request #4125 from wackxu/fixdeletetermin (diff)
downloadkubeedge-d887c7c416f3f38ec4b69241229289fe62ba1bbf.tar.gz
support operations: upgrade edge node from cloud
Signed-off-by: gy95 <guoyao17@huawei.com>
Diffstat (limited to 'hack/lib/install.sh')
-rwxr-xr-xhack/lib/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/install.sh b/hack/lib/install.sh
index 9e18e694e..5b157514f 100755
--- a/hack/lib/install.sh
+++ b/hack/lib/install.sh
@@ -69,7 +69,7 @@ function check_golangci-lint {
function install_golangci-lint {
echo "installing golangci-lint ."
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.0
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH}/bin v1.42.0
if [[ $? -ne 0 ]]; then
echo "golangci-lint installed failed, exiting."
exit 1