xbps-src/shutils/bulk: also add pkgs with no deps.
This commit is contained in:
parent
b7024c78c1
commit
3c79f11a6f
|
@ -38,15 +38,18 @@ bulk_build() {
|
||||||
for pkg in ${pkgs}; do
|
for pkg in ${pkgs}; do
|
||||||
. ${XBPS_SRCPKGDIR}/${pkg}/template
|
. ${XBPS_SRCPKGDIR}/${pkg}/template
|
||||||
_pkgs="$(show_pkg_build_deps | sed -e 's|[<>].*\$||g')"
|
_pkgs="$(show_pkg_build_deps | sed -e 's|[<>].*\$||g')"
|
||||||
|
found=0
|
||||||
for x in ${_pkgs}; do
|
for x in ${_pkgs}; do
|
||||||
_pkg=$(bulk_getlink $x)
|
_pkg=$(bulk_getlink $x)
|
||||||
for f in ${pkgs}; do
|
for f in ${pkgs}; do
|
||||||
if [ "${f}" != "${_pkg}" ]; then
|
if [ "${f}" != "${_pkg}" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
found=1
|
||||||
echo "${pkg} ${f}" >> $tmpf
|
echo "${pkg} ${f}" >> $tmpf
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
[ $found -eq 0 ] && echo "${pkg} ${pkg}" >> $tmpf
|
||||||
done
|
done
|
||||||
tsort $tmpf|tac
|
tsort $tmpf|tac
|
||||||
rm -f $tmpf
|
rm -f $tmpf
|
||||||
|
|
Loading…
Reference in New Issue