Fixes hard-coded path to cache

This commit is contained in:
Benjamin R. Haskell
2013-05-28 23:53:37 -04:00
parent 7765f13d9a
commit 3f72ed5f89
+1 -1
View File
@@ -196,7 +196,7 @@ main() {
which goinstall &> /dev/null ||
GVM_GOINSTALL="go get"
x="`hg tags -R ~/.gvm/archive/go`"; echo ${x#*b0819469a6df} | $GREP_PATH "$version " &> /dev/null
x="`hg tags -R $GO_CACHE_PATH`"; echo ${x#*b0819469a6df} | $GREP_PATH "$version " &> /dev/null
if [[ "$?" == "1" ]]; then
if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then
install_gb || display_warning "Failed to install gb"