From 8d99df602d6e5fc377a37f67d0e5ce74c8facecd Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Sat, 30 Nov 2019 13:44:02 +0100 Subject: makechrootpkg: double quote array expansions for checkpkg locations Avoid re-splitting remotepkg elements used for checkpkg conditions. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[@]}" -- cgit v1.2.3-70-g09d2