summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:23:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-04 11:23:33 -0500
commite362e5b23aa9f7322df5995d4b5e51dfea17956f (patch)
tree4b2cb9ba5c0a9bd4fe93da5552447334a9af7780
parentb20b7b03053f94499085a4570a241428b5676ce2 (diff)
touch up quoting on arrays
-rwxr-xr-xsrc/abslibre-tools/libreaddiff2
-rwxr-xr-xsrc/fullpkg/fullpkg-find3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/abslibre-tools/libreaddiff b/src/abslibre-tools/libreaddiff
index 3855279..ebd749d 100755
--- a/src/abslibre-tools/libreaddiff
+++ b/src/abslibre-tools/libreaddiff
@@ -80,7 +80,7 @@ except StopIteration:
fi
done
if [[ "$is_here" == "true" ]] ; then
- for name in ${pkgname[@]} ; do
+ for name in "${pkgname[@]}" ; do
if [[ -z "$epoch" ]] ; then
echo $name-$pkgver-$pkgrel
else
diff --git a/src/fullpkg/fullpkg-find b/src/fullpkg/fullpkg-find
index 57819c3..a96bc8a 100755
--- a/src/fullpkg/fullpkg-find
+++ b/src/fullpkg/fullpkg-find
@@ -126,7 +126,8 @@ find_deps() {
tr ' ' "\n" | \
sort -u))
- for _dep in ${deps[@]}; do
+ local _dep
+ for _dep in "${deps[@]}"; do
local found=false
# May fail, e.g. since abslibre-mips64el doesn't include