提交 d4ee1396 authored 作者: Andy's avatar Andy

12

上级 bafc05b7
...@@ -54,8 +54,13 @@ check_gitaccount() { ...@@ -54,8 +54,13 @@ check_gitaccount() {
} }
fetch_git_platsvr() { fetch_git_platsvr() {
echo "bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches"
# echo "bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches"
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches
# bash <./fun_git.sh fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches
# bash ./fun_git.sh fetch_git_platsvr $Svr_Repo_Url $Svr_Base_Dir $Svr_Branches
# bash ./fun_git.sh fetch_git_platsvr_1
} }
fetch_git_platweb() { fetch_git_platweb() {
......
...@@ -100,3 +100,5 @@ check_install_deps() { ...@@ -100,3 +100,5 @@ check_install_deps() {
# echo "🎉 Node.js & PM2 环境准备完成!" # echo "🎉 Node.js & PM2 环境准备完成!"
# } # }
"$@"
\ No newline at end of file
...@@ -152,7 +152,6 @@ fetch_git_platsvr() { ...@@ -152,7 +152,6 @@ fetch_git_platsvr() {
echo tmp_svr_base_dir echo tmp_svr_base_dir
echo tmp_svr_branches echo tmp_svr_branches
# 主循环 # 主循环
for branch in "${tmp_svr_branches[@]}"; do for branch in "${tmp_svr_branches[@]}"; do
tmp_target_dir="$tmp_svr_base_dir/$branch" tmp_target_dir="$tmp_svr_base_dir/$branch"
...@@ -182,3 +181,12 @@ fetch_git_platweb() { ...@@ -182,3 +181,12 @@ fetch_git_platweb() {
fi fi
done done
} }
fetch_git_platsvr_1(){
while true; do
echo "wwwww"
echo
done
}
"$@"
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论