index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-05-31 17:21:37 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-05-31 14:30:41 -0400 |
commit | e422b71a48c9f7637595c510d8766f0f38b1114e (patch) | |
tree | 33fa3c11e1ccc9e0e6a10ad50d6e4b2b249c181e /scripts | |
parent | 139d3c5e99fa6cb28fba7883123891a73fbb2421 (diff) |
-rw-r--r-- | scripts/makepkg.in | 4 |
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 |