summaryrefslogtreecommitdiff
path: root/get-repos
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 20:53:38 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:00:14 -0500
commit39fbf0d8d3cdc666912c597d41d5b6a70fc0c725 (patch)
tree75431027d99758dbe1f13896c8ff0ef97e14e766 /get-repos
parente7d2dcac7cf857fdccd82bec2bfc2a7d8e6b85c6 (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 5096433..b8d2ccb 100755
--- a/get-repos
+++ b/get-repos
@@ -25,8 +25,8 @@ trap "rm -rf -- $(printf '%q' "${WORKDIR}")" EXIT
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
@@ -37,7 +37,7 @@ wget --directory-prefix=${WORKDIR} \
--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