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