xbps-src: make 'build-pkg all' ignore building subpkgs, use sourcepkg.
--HG-- extra : convert_revision : a552d1c2db44ca7a6427bf1e08a2d86e995c1383
This commit is contained in:
parent
e51ddb6fc7
commit
4a26a07d56
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
xbps_make_binpkg ${pkg}
|
||||
if [ "$pkg" = "$sourcepkg" ]; then
|
||||
xbps_make_binpkg ${pkg}
|
||||
fi
|
||||
reset_tmpl_vars
|
||||
done
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue