xbps-src: use install_pkg() for configure and build targets too.
This commit is contained in:
parent
6208fd759d
commit
bc5f57f274
2 changed files with 9 additions and 37 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue