diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-07 14:18:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-21 01:03:54 +0200 |
commit | 133d174e60951dcca39d4c4063a85de75f52f6a8 (patch) | |
tree | dcdc76fdc3b8ca84c9abbbc9fe079b8dcf90db14 /scripts/pkgdelta.sh.in | |
parent | 839953f1113c70d13560bfd05c5e52139c7f562f (diff) | |
download | pacman-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.in | 2 |
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=$? |