summaryrefslogtreecommitdiff
path: root/cron-jobs/repo-sanity-check
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:27:07 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:27:07 -0500
commit9d9116bd23720cf6c5b27aa39e5cc4c71de1fb26 (patch)
tree2a48919051eeec5122097e66f572fcec4a92ca20 /cron-jobs/repo-sanity-check
parenteefb787983d2608511214bcd682f3d8271bac60c (diff)
Fix some array quoting.
Diffstat (limited to 'cron-jobs/repo-sanity-check')
-rwxr-xr-xcron-jobs/repo-sanity-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/repo-sanity-check b/cron-jobs/repo-sanity-check
index ee4c061..9d351df 100755
--- a/cron-jobs/repo-sanity-check
+++ b/cron-jobs/repo-sanity-check
@@ -5,7 +5,7 @@
. "$(dirname "$(readlink -e "$0")")/../db-functions"
# Traverse all repos
-for _repo in ${PKGREPOS[@]}; do
+for _repo in "${PKGREPOS[@]}"; do
msg "Cleaning up [${_repo}]"
# Find all pkgnames on this repo's abs
@@ -19,7 +19,7 @@ for _repo in ${PKGREPOS[@]}; do
>/dev/null 2>&1
# also cleanup package functions
- for _pkg in ${pkgname[@]}; do
+ for _pkg in "${pkgname[@]}"; do
unset package_${pkg} >/dev/null 2>&1
done