hackage: quote string interpolation

This commit is contained in:
Jiajie Chen 2019-07-08 13:33:54 +08:00
parent fbd47502ca
commit c491f5a7c2

View File

@ -56,7 +56,7 @@ function hackage_mirror() {
jsons=("timestamp.json" "snapshot.json" "root.json" "mirrors.json") jsons=("timestamp.json" "snapshot.json" "root.json" "mirrors.json")
for name in "${jsons[@]}" for name in "${jsons[@]}"
do do
wget "${base_url}/${name}" -O ${name} wget "${base_url}/${name}" -O "${name}"
done done
echo "building local package list" echo "building local package list"