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:
parent
5a0c659a16
commit
af1c986383
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user