xbps-src: make it possible to override the subpackages list via ${subpackages}.
This overrides the automatic list generated by xbps-src and it's overridable to change the processing order of subpackages.
This commit is contained in:
parent
9ac76b0d4c
commit
c49e01fc15
3 changed files with 8 additions and 2 deletions
|
@ -293,7 +293,9 @@ setup_pkg() {
|
|||
fi
|
||||
|
||||
sourcepkg="${pkgname}"
|
||||
subpackages="$(get_subpkgs)"
|
||||
if [ -z "$subpackages" ]; then
|
||||
subpackages="$(get_subpkgs)"
|
||||
fi
|
||||
|
||||
if [ -h $XBPS_SRCPKGDIR/$pkg ]; then
|
||||
# Source all subpkg environment setup snippets.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue