Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2013-06-19 22:38:57 +0200
committerAllan McRae <allan@archlinux.org>2013-06-23 15:45:00 +1000
commitaf1c9863838d82257d1eac6ddfccf699e3c3c302 (patch)
tree910d34bd8bdb44c1703ee1afbf00a6f46a966140 /scripts/makepkg.sh.in
parent5a0c659a16831e1d4c62698352135122cfbb87e4 (diff)
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>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 940e947d..02f5a02d 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