summaryrefslogtreecommitdiff
path: root/get-repos
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:27:07 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:27:07 -0500
commit9d9116bd23720cf6c5b27aa39e5cc4c71de1fb26 (patch)
tree2a48919051eeec5122097e66f572fcec4a92ca20 /get-repos
parenteefb787983d2608511214bcd682f3d8271bac60c (diff)
Fix some array quoting.
Diffstat (limited to 'get-repos')
-rwxr-xr-xget-repos6
1 files changed, 3 insertions, 3 deletions
diff --git a/get-repos b/get-repos
index a477cf2..b98d601 100755
--- a/get-repos
+++ b/get-repos
@@ -23,8 +23,8 @@ TMPDIR="$(mktemp -dt "${0##*/}.XXXX")"
DBLIST=()
# Repos
-for _repo in ${PKGREPOS[@]}; do
- for _arch in ${ARCHES[@]}; do
+for _repo in "${PKGREPOS[@]}"; do
+ for _arch in "${ARCHES[@]}"; do
DBLIST+=("http://repo.parabolagnulinux.org/${_repo}/os/${_arch}/${_repo}${FILESEXT}")
done
done
@@ -35,7 +35,7 @@ wget --directory-prefix=${TMPDIR} \
--no-verbose \
--force-directories \
--no-host-directories \
- ${DBLIST[@]} || true
+ "${DBLIST[@]}" || true
# Always return true, some databases are expect to be missing
# Create the arches regexp arch1|arch2