xbps-src: make -B flag build binpkgs for required pkg deps.

This commit is contained in:
Juan RP 2011-07-18 11:36:48 +02:00
parent 0b348a677c
commit e22c565811
5 changed files with 52 additions and 43 deletions

View file

@ -436,14 +436,6 @@ install)
setup_tmpl ${_ORIGINPKG}
install_pkg $pkgname || exit $?
fi
if [ -z "$IN_CHROOT" -a -n "$BUILD_BINPKG" ]; then
setup_tmpl ${_ORIGINPKG}
xbps_make_binpkg
[ -n "${_PACKAGEDIR}" ] && XBPS_PACKAGESDIR="${_PACKAGEDIR}"
msg_normal "Updating pkg-index for local repository at:\n"
msg_normal " $XBPS_PACKAGESDIR\n"
${XBPS_REPO_CMD} genindex ${XBPS_PACKAGESDIR} 2>/dev/null
fi
;;
list)
$XBPS_BIN_CMD list