makechrootpkg: double quote array expansions for checkpkg locations

Avoid re-splitting remotepkg elements used for checkpkg conditions.
This commit is contained in:
Levente Polyak 2019-11-30 13:44:02 +01:00
parent 4c803b9db8
commit 8d99df602d
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 1 additions and 1 deletions

View File

@ -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[@]}"