mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
repo命令后缀参数竖线分割
This commit is contained in:
@@ -388,6 +388,9 @@ gen_list_repo() {
|
||||
local index=0
|
||||
if [[ $6 ]]; then
|
||||
file_extensions="$6"
|
||||
if [[ $file_extensions =~ "|" ]]; then
|
||||
file_extensions=$(echo $file_extensions | sed 's/|/ /g')
|
||||
fi
|
||||
fi
|
||||
for extension in $file_extensions; do
|
||||
if [[ $index -eq 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user