Merge pull request #8879 from MaXinjian/test
check_install_golang.sh: fix "HOST_VERSION: command not found" issuepull/8954/head
commit
62b54fb609
|
@ -43,7 +43,7 @@ function check_and_install_golang() {
|
||||||
install_golang "$VERSION_TO_INSTALL" "$INSTALL_PATH"
|
install_golang "$VERSION_TO_INSTALL" "$INSTALL_PATH"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "ERROR: Failed to parse golang version: $HOST_VERSION"
|
echo "ERROR: Failed to parse golang version: $(go version)"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue