Fix for installation of master

This commit is contained in:
Naoya Inada
2015-02-04 10:44:32 +09:00
parent e1ea0e745f
commit ccbb978c9a
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ download_source() {
} }
check_tag() { check_tag() {
version=$(cd "$GO_CACHE_PATH" && git tag -l "$VERSION") version=$(cd "$GO_CACHE_PATH" && git show-ref --heads --tags | awk -F/ '{ print $NF }' | $SORT_PATH | $GREP_PATH "$VERSION" | $HEAD_PATH -n 1 | $GREP_PATH -w "$VERSION")
} }
update_source() { update_source() {
+5 -3
View File
@@ -1,11 +1,13 @@
## Cleanup test objects ## Cleanup test objects
gvm uninstall tip > /dev/null 2>&1 gvm uninstall go1.4 > /dev/null 2>&1
gvm uninstall master > /dev/null 2>&1
gvm uninstall go1.1.1 > /dev/null 2>&1 gvm uninstall go1.1.1 > /dev/null 2>&1
gvm uninstall go1.2.2 > /dev/null 2>&1 gvm uninstall go1.2.2 > /dev/null 2>&1
####################### #######################
gvm install tip #status=0 gvm install go1.4 #status=0
gvm list #status=0; match=/tip/ GOROOT_BOOTSTRAP=$GVM_ROOT/gos/go1.4 gvm install master #status=0
gvm list #status=0; match=/master/
gvm install go1.1.1 #status=0 gvm install go1.1.1 #status=0
gvm list #status=0; match=/go1.1.1/ gvm list #status=0; match=/go1.1.1/
gvm install go1.2.2 #status=0 gvm install go1.2.2 #status=0