summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index aebfb34..62d0d72 100644
--- a/db-functions
+++ b/db-functions
@@ -483,7 +483,7 @@ check_repo_permission() {
[ -w "$FTP_BASE/${PKGPOOL}" ] || return 1
local arch
- for arch in "${ARCHES}"; do
+ for arch in "${ARCHES[@]}"; do
local dir="${FTP_BASE}/${repo}/os/${arch}/"
[ -w "${dir}" ] || return 1
[ -f "${dir}${repo}"${DBEXT} -a ! -w "${dir}${repo}"${DBEXT} ] && return 1