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

---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index f8bf8e6..2a39157 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -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
-- 
1.8.3.1

Reply via email to