1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

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

View File

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