summaryrefslogtreecommitdiff
path: root/src/treepkg
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-31 23:02:52 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 19:53:20 -0600
commit47722999c8cb00e6f0be036aa8b620fcd0ca861c (patch)
treef8a0821c93cc7c90aa01c814c463c207dc49574c /src/treepkg
parentd0665ee79d9e7dad960cfd7166987905d191bf80 (diff)
[many tools]: miscellaneous minor cleanups
Diffstat (limited to 'src/treepkg')
-rwxr-xr-xsrc/treepkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/treepkg b/src/treepkg
index 22485d2..1796748 100755
--- a/src/treepkg
+++ b/src/treepkg
@@ -107,7 +107,7 @@ unset pkgdesc arch license groups backup install md5sums sha1sums \
unset build package >/dev/null 2>&1
-for _pkg in ${pkgname[@]}; do
+for _pkg in "${pkgname[@]}"; do
unset package_${_pkg} >/dev/null 2>&1 || true
done
##
@@ -138,7 +138,7 @@ if ! ${BUILDNOW}; then
touch "${BUILDORDER}"
# If this package is already built quit silently
- for _pkg in ${pkgname[@]}; do
+ for _pkg in "${pkgname[@]}"; do
if is_built "${_pkg}" "${fullver}"; then
add_order "ignore"
exit 0
@@ -162,7 +162,7 @@ if ! ${BUILDNOW}; then
sort -u))
# NOTE: getting depends from package() is a PITA
- for _dep in ${deps[@]}; do
+ for _dep in "${deps[@]}"; do
# Move deps deeper in the tree if
# pkgbase - dep1
# \ dep2 - dep1