summaryrefslogtreecommitdiff
path: root/db-sync
diff options
context:
space:
mode:
Diffstat (limited to 'db-sync')
-rwxr-xr-xdb-sync6
1 files changed, 3 insertions, 3 deletions
diff --git a/db-sync b/db-sync
index c90f89b..3f8784d 100755
--- a/db-sync
+++ b/db-sync
@@ -66,8 +66,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}
@@ -120,7 +120,7 @@ init() {
rsync ${extra} --no-motd -rtlH \
--delay-updates \
--safe-links \
- ${WORKDIR}/${_repo}/os/${_arch}/ \
+ "${WORKDIR}/${_repo}/os/${_arch}/" \
${FTP_BASE}/${_repo}/os/${_arch}/
# Cleanup