diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 14:21:18 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 14:21:18 -0400 |
commit | 108262939f3b80bc82e1a2eec983944f448f2afd (patch) | |
tree | 53c93aeca5ffe40a942481e860b39167da8c77fa /db-functions | |
parent | 12faf7365342bcfebb951dd748d48b5db8a1acba (diff) |
db-functions:check_repo_permissions: ARCHES is an array
Diffstat (limited to 'db-functions')
-rw-r--r-- | db-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions index e45f673..ca43259 100644 --- a/db-functions +++ b/db-functions @@ -472,7 +472,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 |