remove temp echo message

This commit is contained in:
2016-03-06 22:03:27 +08:00
parent cd26aff6f9
commit 6475454741
2 changed files with 2 additions and 7 deletions
-5
View File
@@ -9,8 +9,3 @@ GREP_PATH=$(unalias grep &> /dev/null; which grep) || display_error "$GREP_ERROR
SORT_PATH=$(unalias sort &> /dev/null; which sort) || display_error "$SORT_ERROR" || return 1
HEAD_PATH=$(unalias head &> /dev/null; which head) || display_error "$HEAD_ERROR" || return 1
GITHUB_REPO_URL=git@github.com:golang/go.git
repo_url() {
return GITHUB_REPO_URL
}
+2 -2
View File
@@ -32,13 +32,13 @@ read_command_line "$@"
echo
display_message "gvm gos (available)"
echo
display_message "h=========="
go_repo_url=git@github.com:golang/go.git
versions=$(git ls-remote -t ${go_repo_url} | awk -F/ '{ print $NF }' | $SORT_PATH)
if [[ $? -ne 0 ]]; then
display_fatal "Failed to get version list from Github"
fi
display_message "~~~~~~~~~~~~~"
for version in $versions; do
if [[ "$tag_filter" == "release" ]]; then
if [[ "${version:0:7}" == "release" ]]; then