xbps-src: piping with tee(1) and groupping command is not possible sometimes...

This commit is contained in:
Juan RP
2010-05-08 09:46:23 +02:00
parent 15ba67666d
commit f6a0806229
5 changed files with 24 additions and 27 deletions

View File

@@ -82,25 +82,25 @@ install_pkg()
if [ ! -f "$XBPS_EXTRACT_DONE" ]; then
. $XBPS_SHUTILSDIR/extract_funcs.sh
extract_distfiles
extract_distfiles || return $?
fi
if [ ! -f "$XBPS_CONFIGURE_DONE" ]; then
. $XBPS_SHUTILSDIR/configure_funcs.sh
configure_src_phase
configure_src_phase || return $?
fi
if [ ! -f "$XBPS_BUILD_DONE" ]; then
. $XBPS_SHUTILSDIR/build_funcs.sh
build_src_phase
build_src_phase || return $?
fi
# Install pkg into destdir.
{ env xbps_machine=${xbps_machine} MASTERDIR=${_MASTERDIR} \
env xbps_machine=${xbps_machine} MASTERDIR=${_MASTERDIR} \
dontrm_builddir=${dontrm_builddir} \
${fakeroot_cmd} ${fakeroot_cmd_args} \
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-doinst-helper \
${curpkgn}; } || exit $?
${curpkgn} || return $?
# Always write metadata to package's destdir.
. $XBPS_SHUTILSDIR/metadata.sh
@@ -110,7 +110,7 @@ install_pkg()
# Stow package into masterdir.
. $XBPS_SHUTILSDIR/stow_funcs.sh
stow_pkg_handler stow
stow_pkg_handler stow || return $?
}
#