Respect paths with spaces on --install

makepkg --install doesn't quote the absolute path, so if the path contains
spaces pacman -U fails.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrea Scarpino 2013-06-19 22:38:57 +02:00 committed by Allan McRae
parent 5a0c659a16
commit af1c986383
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ install_package() {
fi
done
if ! run_pacman -U ${pkglist[@]}; then
if ! run_pacman -U "${pkglist[@]}"; then
warning "$(gettext "Failed to install built package(s).")"
return 0
fi