xbps-src: use install_pkg() for configure and build targets too.

This commit is contained in:
Juan RP 2011-11-18 09:33:29 +01:00
parent 6208fd759d
commit bc5f57f274
2 changed files with 9 additions and 37 deletions

View file

@ -117,10 +117,16 @@ install_pkg()
if [ ! -f "$XBPS_CONFIGURE_DONE" ]; then
configure_src_phase || return $?
if [ "$INSTALL_TARGET" = "configure" ]; then
return 0
fi
fi
if [ ! -f "$XBPS_BUILD_DONE" ]; then
build_src_phase || return $?
if [ "$INSTALL_TARGET" = "build" ]; then
return 0
fi
fi
# Install pkg into destdir.