shutils/make-binpkg.sh: make 'build-pkg' target build all subpkgs.

--HG--
extra : convert_revision : 9b1f6d0dcbf65550e393d00eb3bea8939a644055
This commit is contained in:
Juan RP 2009-10-20 10:06:02 +02:00
parent f7f9d75a57
commit de15937c98

View file

@ -29,14 +29,11 @@ xbps_make_binpkg()
local subpkg
for subpkg in ${subpackages}; do
if [ "$pkg" = "$pkgname-$subpkg" ]; then
unset revision
. $XBPS_TEMPLATESDIR/$pkgname/$subpkg.template
pkgname=${sourcepkg}-${subpkg}
set_tmpl_common_vars
xbps_make_binpkg_real
return $?
fi
run_template ${sourcepkg}
done