[pacman-dev] [PATCH] [makepkg] Respect paths with spaces on --install
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
On 20/06/13 06:38, Andrea Scarpino wrote:
makepkg --install doesn't quote the absolute path, so if the path contains spaces pacman -U fails.
Ack -> maint.
participants (2)
-
Allan McRae
-
Andrea Scarpino