From aa144d900a1843bc828c996b24dfcd8012e9bc2c Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Sun, 6 Mar 2016 21:30:35 +0800 Subject: [PATCH] update source url --- scripts/function/tools | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/function/tools b/scripts/function/tools index 54ea775..1258022 100644 --- a/scripts/function/tools +++ b/scripts/function/tools @@ -10,12 +10,6 @@ SORT_PATH=$(unalias sort &> /dev/null; which sort) || display_error "$SORT_ERROR HEAD_PATH=$(unalias head &> /dev/null; which head) || display_error "$HEAD_ERROR" || return 1 GITHUB_REPO_URL=https://github.com/golang/go.git -GOOGLE_REPO_URL=https://go.googlesource.com/go - repo_url() { - if [[ "$GOOGLE" == "true" ]]; then - return GOOGLE_REPO_URL - else - return GITHUB_REPO_URL - fi + return GITHUB_REPO_URL } \ No newline at end of file