xbps-src: piping with tee(1) and groupping command is not possible sometimes...
This commit is contained in:
parent
15ba67666d
commit
f6a0806229
5 changed files with 24 additions and 27 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue