index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eric Bélanger <snowmaniscool@gmail.com> | 2011-04-27 22:48:09 -0400 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-04-29 21:20:04 +0200 |
commit | c45e5bbf22504d62c3551d37b0f51e30716b41f1 (patch) | |
tree | e51dd9dca5e41cf9a4cd56c410dc46068c4e5d5a /checkpkg | |
parent | e380f396cf4a369d560073010f4aa58314893b98 (diff) |
-rwxr-xr-x | checkpkg | 6 |
@@ -32,7 +32,11 @@ TEMPDIR=$(mktemp -d /tmp/checkpkg-script.XXXX) cd $TEMPDIR for _pkgname in ${pkgname[@]}; do - pkgfile=${_pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} + if [ -z ${epoch} ] ; then + pkgfile=${_pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} + else + pkgfile=${_pkgname}-${epoch}:${pkgver}-${pkgrel}-${CARCH}${PKGEXT} + fi oldstylepkgfile=${_pkgname}-${pkgver}-${pkgrel}${PKGEXT} if [ -f "$STARTDIR/$pkgfile" ]; then |