summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.in')
-rw-r--r--scripts/makepkg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.in b/scripts/makepkg.in
index 1bc6f3cc..553221be 100644
--- a/scripts/makepkg.in
+++ b/scripts/makepkg.in
@@ -666,7 +666,7 @@ create_srcpackage() {
done
# TODO make package extension configurable like $PKGEXT
- local pkg_file="$PKGDEST/${pkgname}-${pkgver}-${pkgrel}.src.tar.gz"
+ local pkg_file="$PKGDEST/${pkgname}-${pkgver}-${pkgrel}${SRCEXT}"
# tar it up
msg2 "$(gettext "Compressing source package...")"
@@ -990,7 +990,7 @@ msg "$(gettext "Making package: %s")" "$pkgname $pkgver-$pkgrel ($date)"
# if we are creating a source-only package, go no further
if [ "$SOURCEONLY" = "1" ]; then
- if [ -f "$PKGDEST/${pkgname}-${pkgver}-${pkgrel}.src.tar.gz" \
+ if [ -f "$PKGDEST/${pkgname}-${pkgver}-${pkgrel}${SRCEXT}" \
-a "$FORCE" = "0" ]; then
error "$(gettext "a package has already been built. (use -f to overwrite)")"
exit 1