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