[pacman-dev] [PATCH] makepkg: Fix typo to make xdelta creation work.
Signed-off-by: Nathan Jones <nathanj@insightbb.com> --- scripts/makepkg.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e4b96f0..4a68c84 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 -- 1.5.3.4
On 10/4/07, Nathan Jones <nathanj@insightbb.com> wrote:
Signed-off-by: Nathan Jones <nathanj@insightbb.com> --- scripts/makepkg.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e4b96f0..4a68c84 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 -- 1.5.3.4
Pushed to my working branch http://code.phraktured.net/?p=pacman.git;a=shortlog;h=working Thanks. This will get pushed to master sooner or later
participants (2)
-
Aaron Griffin
-
Nathan Jones