Commit 5d8be4c0 authored by nanahira's avatar nanahira

fix

parent fd3e927c
Pipeline #33725 failed with stages
in 14 seconds
...@@ -191,7 +191,7 @@ process_repo() { ...@@ -191,7 +191,7 @@ process_repo() {
} }
# run for each line in each text in repos/*.txt # run for each line in each text in repos/*.txt
for file in repos/*.txt; do for file in repos/*.txt || [ -n "$file" ]; do
[ -e "$file" ] || continue # 避免 repos 目录为空时报错 [ -e "$file" ] || continue # 避免 repos 目录为空时报错
while read -r repo_url; do while read -r repo_url; do
process_repo "$repo_url" process_repo "$repo_url"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment