summaryrefslogtreecommitdiffstats
path: root/scripts/pkgdelta.sh.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-07 14:18:28 +0200
committerDan McGee <dan@archlinux.org>2012-04-21 01:03:54 +0200
commit133d174e60951dcca39d4c4063a85de75f52f6a8 (patch)
treedcdc76fdc3b8ca84c9abbbc9fe079b8dcf90db14 /scripts/pkgdelta.sh.in
parent839953f1113c70d13560bfd05c5e52139c7f562f (diff)
downloadpacman-133d174e60951dcca39d4c4063a85de75f52f6a8.tar.gz
pacman-133d174e60951dcca39d4c4063a85de75f52f6a8.tar.xz
pkgdelta/repo-add: quoting fixes
This removes some unnecessary quotes and adds quotes in a few places to hopefully work correctly if the tempdir has spaces. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/pkgdelta.sh.in')
-rw-r--r--scripts/pkgdelta.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index 66ee35ec..41d399b0 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -132,7 +132,7 @@ create_xdelta()
fi
msg "$(gettext "Generating delta from version %s to version %s")" "$oldver" "$newver"
- deltafile="$(dirname $newfile)/$pkgname-${oldver}_to_${newver}-$arch.delta"
+ deltafile=$(dirname "$newfile")/$pkgname-${oldver}_to_${newver}-$arch.delta
local ret=0
xdelta3 -q -f -s "$oldfile" "$newfile" "$deltafile" || ret=$?