mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 11:56:08 +08:00
修改git_diy脚本仓库路径
This commit is contained in:
parent
602e2775f7
commit
1da99472b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user