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

@ -72,10 +72,9 @@ build_src_phase()
#
# Build package via make.
#
{ ${make_cmd} ${makejobs} ${make_build_args} \
${make_build_target} \
2>&1 | tee ${wrksrc}/.xbps_make_build.log; } || \
msg_error "$pkgname: build phase failed! check $wrksrc/.xbps_make_build.log"
${make_cmd} ${makejobs} ${make_build_args} \
${make_build_target} ||
msg_error "$pkgname: build phase failed!"
fi
# Run post_build func.