summaryrefslogtreecommitdiff
path: root/db-sync
diff options
context:
space:
mode:
Diffstat (limited to 'db-sync')
-rwxr-xr-xdb-sync5
1 files changed, 2 insertions, 3 deletions
diff --git a/db-sync b/db-sync
index e4b6966..3595876 100755
--- a/db-sync
+++ b/db-sync
@@ -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