From 5dbb964d6614d7157fbedb27f7dff3c97482039a Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 13 May 2009 10:01:13 +0200 Subject: Use $PKGEXT defined in makepkg.conf Also replace some uses of tar with bsdtar Signed-off-by: Pierre Schmitz Signed-off-by: Aaron Griffin --- commitpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commitpkg') diff --git a/commitpkg b/commitpkg index 8f4d37d..79998fb 100755 --- a/commitpkg +++ b/commitpkg @@ -26,8 +26,8 @@ if [ -z "$CARCH" ]; then fi source PKGBUILD -pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz -oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz +pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} +oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}${PKGEXT} if [ ! -f $pkgfile ]; then if [ -f $PKGDEST/$pkgfile ]; then -- cgit v1.2.3-70-g09d2