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 /db-sync | |
parent | e7d2dcac7cf857fdccd82bec2bfc2a7d8e6b85c6 (diff) |
Fix some array quoting.
Diffstat (limited to 'db-sync')
-rwxr-xr-x | db-sync | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -67,8 +67,8 @@ init() { get_repos # Traverse all repo-arch pairs - for _repo in ${ARCHREPOS[@]}; do - for _arch in ${ARCHARCHES[@]}; do + for _repo in "${ARCHREPOS[@]}"; do + for _arch in "${ARCHARCHES[@]}"; do msg "Processing ${_repo}-${_arch}" db_file=$(get_repo_file ${_repo} ${_arch})${DBEXT} @@ -165,7 +165,6 @@ init() { rsync://${mirror}/${mirrorpath}/${SRCPOOL}/ \ ${FTP_BASE}/${SRCPOOL}/ done - # Cleanup unset blacklist whitelists _arch _repo repo_file |