shutils/make-binpkg.sh: reset revision while building binpkgs, so that

the archive is created with the correct version.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091005211238-b3oa8cf2xyd2bn7c
This commit is contained in:
Juan RP 2009-10-05 23:12:38 +02:00
parent 1afb358221
commit c0c9a8dfc0

View File

@ -30,6 +30,7 @@ xbps_make_binpkg()
for subpkg in ${subpackages}; do for subpkg in ${subpackages}; do
if [ "$pkg" = "$pkgname-$subpkg" ]; then if [ "$pkg" = "$pkgname-$subpkg" ]; then
unset revision
. $XBPS_TEMPLATESDIR/$pkgname/$subpkg.template . $XBPS_TEMPLATESDIR/$pkgname/$subpkg.template
pkgname=${sourcepkg}-${subpkg} pkgname=${sourcepkg}-${subpkg}
set_tmpl_common_vars set_tmpl_common_vars