summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2007-10-05 00:50:29 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2007-10-05 00:50:29 +0200
commit02ec82b8c6fb2b2b89df92d79e9f8a28ce093cbe (patch)
treefeef748655df9f738710ae16e828811fc8d5b4e2 /scripts/makepkg.sh.in
parent52e7e6d74733f7a431376a9e528c4fe4d3732068 (diff)
downloadpacman-02ec82b8c6fb2b2b89df92d79e9f8a28ce093cbe.tar.gz
pacman-02ec82b8c6fb2b2b89df92d79e9f8a28ce093cbe.tar.xz
makepkg: Fix typo to make xdelta creation work.
Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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 e4b96f08..4a68c844 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -877,7 +877,7 @@ create_xdelta() {
local old_file old_version
for old_file in $(ls {"$cache_dir","$PKGDEST"}/${pkgname}-*-*{,-$CARCH}$PKGEXT 2>/dev/null); do
- bsdtar -xOf "$oldfile" .PKGINFO > "$pkginfo" || continue
+ bsdtar -xOf "$old_file" .PKGINFO > "$pkginfo" || continue
if [ "$(cat "$pkginfo" | grep '^pkgname = ')" != "pkgname = $pkgname" ]; then
continue # Package name does not match.
elif [ "$(cat "$pkginfo" | grep '^arch = ')" != "arch = $CARCH" ] ; then