diff options
Diffstat (limited to 'src/treepkg')
-rwxr-xr-x | src/treepkg | 6 |
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 |