xbps-src: make 'build-pkg all' ignore building subpkgs, use sourcepkg.

--HG--
extra : convert_revision : a552d1c2db44ca7a6427bf1e08a2d86e995c1383
This commit is contained in:
Juan RP 2009-10-20 10:49:41 +02:00
parent e51ddb6fc7
commit 4a26a07d56
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ build-pkg)
for f in $($XBPS_BIN_CMD list|awk '{print $1}'); do
pkg=$(xbps-pkgdb getpkgname $f)
setup_tmpl ${pkg}
if [ "$pkg" = "$sourcepkg" ]; then
xbps_make_binpkg ${pkg}
fi
reset_tmpl_vars
done
else