diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 21:27:07 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 21:27:07 -0500 |
commit | 9d9116bd23720cf6c5b27aa39e5cc4c71de1fb26 (patch) | |
tree | 2a48919051eeec5122097e66f572fcec4a92ca20 /get-repos | |
parent | eefb787983d2608511214bcd682f3d8271bac60c (diff) |
Fix some array quoting.
Diffstat (limited to 'get-repos')
-rwxr-xr-x | get-repos | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |