From 02ec82b8c6fb2b2b89df92d79e9f8a28ce093cbe Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Thu, 4 Oct 2007 17:50:29 -0500 Subject: makepkg: Fix typo to make xdelta creation work. Signed-off-by: Nathan Jones Signed-off-by: Aaron Griffin --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-24-g4f1b