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() {
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() {