From 1da99472b4db0a2895ca27fbe95a6c700dd24731 Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 20 Mar 2021 00:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9git=5Fdiy=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/git_diy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/git_diy.sh b/shell/git_diy.sh index 3fd31480..25d6027f 100644 --- a/shell/git_diy.sh +++ b/shell/git_diy.sh @@ -23,7 +23,7 @@ mkdir -p ${diyscriptsdir} if [ ! -d "$diyscriptsdir/${author}_${repo}" ]; then echo -e "${author}本地仓库不存在,从gayhub拉取ing..." - cd ${diyscriptsdir} && git clone https://github.com/${author}/${repo}.git ${author}_${repo} + cd ${diyscriptsdir} && git clone https://github.com.cnpmjs.org/${author}/${repo}.git ${author}_${repo} gitpullstatus=$? [ $gitpullstatus -eq 0 ] && echo -e "${author}本地仓库拉取完毕" [ $gitpullstatus -ne 0 ] && echo -e "${author}本地仓库拉取失败,请检查!" && exit 0