summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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