diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 20:53:38 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 21:00:14 -0500 |
commit | 39fbf0d8d3cdc666912c597d41d5b6a70fc0c725 (patch) | |
tree | 75431027d99758dbe1f13896c8ff0ef97e14e766 /get-repos | |
parent | e7d2dcac7cf857fdccd82bec2bfc2a7d8e6b85c6 (diff) |
Fix some array quoting.
Diffstat (limited to 'get-repos')
-rwxr-xr-x | get-repos | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |