When using run_func() we don't care about stderr output.

--HG--
extra : convert_revision : 618d1c2eda49e1c55abec28d36f3430f37b9b867
This commit is contained in:
Juan RP 2010-04-22 06:50:11 +02:00
parent 6bb4ee33b0
commit 33770e8bbc
4 changed files with 11 additions and 11 deletions

View file

@ -84,18 +84,18 @@ install_src_phase()
fi
# Run pre_install func.
run_func pre_install || msg_error "pre_install stage failed!"
run_func pre_install 2>/dev/null || msg_error "pre_install stage failed!"
msg_normal "Running install phase for $pkgname-$lver."
# Type of installation: custom, make or python.
case "$build_style" in
custom-install)
run_func do_install || msg_error "do_install stage failed!"
run_func do_install 2>/dev/null || msg_error "do_install stage failed!"
;;
python-module)
. $XBPS_HELPERSDIR/python-module.sh
run_func do_install || msg_error "python module install failed!"
run_func do_install 2>/dev/null || msg_error "python module install failed!"
;;
*)
make_install $lver
@ -103,7 +103,7 @@ install_src_phase()
esac
# Run post_install func.
run_func post_install || msg_error "post_install stage failed!"
run_func post_install 2>/dev/null || msg_error "post_install stage failed!"
# Remove libtool archives by default.
if [ -z "$keep_libtool_archives" ]; then
@ -148,7 +148,7 @@ install_src_phase()
. $XBPS_SRCPKGDIR/${sourcepkg}/${subpkg}.template
pkgname=${subpkg}
set_tmpl_common_vars
run_func do_install || \
run_func do_install 2>/dev/null || \
msg_error "$pkgname do_install stage failed!"
done