fix lsp warning for bash array

This commit is contained in:
Balakrishnan Balasubramanian 2022-12-24 16:31:29 -05:00
parent 71fb0c7af4
commit 21649f84c5

View File

@ -63,7 +63,8 @@ download() {
# mp3path=$(mktemp -p cache "${name}.XXXXXX.mp3") # mp3path=$(mktemp -p cache "${name}.XXXXXX.mp3")
dryrun && continue dryrun && continue
cd cache || return cd cache || return
fname=$(curl -s -w "%{filename_effective}" -f -L $(make_fname "$ftype" "$name" "$title") "$mp3url") read -ra title_options < <(make_fname "$ftype" "$name" "$title")
fname=$(curl -s -w "%{filename_effective}" -f -L "${title_options[@]}" "$mp3url")
cd .. cd ..
mv {cache,Podcasts}/"$fname" mv {cache,Podcasts}/"$fname"