xbps-src: setup main pkg in setup_subpkg_tmpl() if it's not a subpkg.
This commit is contained in:
parent
6058498069
commit
47025ec4c6
|
@ -146,7 +146,7 @@ setup_subpkg_tmpl()
|
|||
|
||||
if [ -r "$XBPS_SRCPKGDIR/$1/$1.template" ]; then
|
||||
setup_tmpl $1
|
||||
unset run_depends
|
||||
unset run_depends build_depends
|
||||
. $XBPS_SRCPKGDIR/$1/$1.template
|
||||
for f in ${subpackages}; do
|
||||
if [ "$subpkg" = "$1" ]; then
|
||||
|
@ -155,6 +155,8 @@ setup_subpkg_tmpl()
|
|||
break
|
||||
fi
|
||||
done
|
||||
else
|
||||
setup_tmpl $1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user