summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-11-30 13:44:02 +0100
committerLevente Polyak <anthraxx@archlinux.org>2019-11-30 13:44:02 +0100
commit8d99df602d6e5fc377a37f67d0e5ce74c8facecd (patch)
treeedad0f67dc72bdfe53a48a3c19c1ea9df1df258d
parent4c803b9db8f6395c610c96bd090d1ba2ced82a9c (diff)
downloaddevtools32-8d99df602d6e5fc377a37f67d0e5ce74c8facecd.tar.xz
makechrootpkg: double quote array expansions for checkpkg locations
Avoid re-splitting remotepkg elements used for checkpkg conditions.
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 2740f0f..a0a95a7 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -392,7 +392,7 @@ else
warning "Skipped checkpkg due to missing repo packages"
exit 0
fi
- for remotepkg in ${remotepkgs[@]}; do
+ for remotepkg in "${remotepkgs[@]}"; do
[[ $remotepkg == file://* ]] && continue
msg2 "Downloading current versions"
pacman --noconfirm -Swdd --logfile /dev/null "${pkgnames[@]}"