summaryrefslogtreecommitdiff
path: root/cron-jobs/repo-sanity-check
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 20:53:38 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:00:14 -0500
commit39fbf0d8d3cdc666912c597d41d5b6a70fc0c725 (patch)
tree75431027d99758dbe1f13896c8ff0ef97e14e766 /cron-jobs/repo-sanity-check
parente7d2dcac7cf857fdccd82bec2bfc2a7d8e6b85c6 (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