summaryrefslogtreecommitdiff
path: root/commitpkg
diff options
context:
space:
mode:
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