summaryrefslogtreecommitdiffstats
path: root/commitpkg
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-05-13 10:01:13 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-13 18:41:44 +0200
commit5dbb964d6614d7157fbedb27f7dff3c97482039a (patch)
treeaf17c9b01994c7c219d3d53ac7974d038b151919 /commitpkg
parent1401d5711527561ba93fd4805f81edbdd07a96e4 (diff)
downloaddevtools-5dbb964d6614d7157fbedb27f7dff3c97482039a.tar.gz
devtools-5dbb964d6614d7157fbedb27f7dff3c97482039a.tar.xz
Use $PKGEXT defined in makepkg.conf
Also replace some uses of tar with bsdtar Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg4
1 files changed, 2 insertions, 2 deletions
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