mirror of
https://github.com/fumiama/RVC-Models-Downloader.git
synced 2024-11-17 13:47:11 +09:00
fix(shell): bash error
This commit is contained in:
parent
04d3d611b0
commit
b59756173d
@ -1,7 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Should be run by go generate. DO NOT run it directly.
|
# Should be run by go generate. DO NOT run it directly.
|
||||||
|
|
||||||
files=($(find $@ | grep -v .DS_Store | sort))
|
files=()
|
||||||
|
while IFS= read -r line; do
|
||||||
|
files+=("$line")
|
||||||
|
done <<< "$(find "$@" | grep -v .DS_Store | sort)"
|
||||||
|
|
||||||
rm -rf cfg.zip
|
rm -rf cfg.zip
|
||||||
zip -9 cfg.zip "${files[@]}"
|
zip -9 cfg.zip "${files[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user