Show all logs on failure
This commit is contained in:
parent
ca251c5b0d
commit
7995e21011
@ -27,7 +27,7 @@ rpmbuild -bs --clean --define "_topdir `pwd`" --define "_sourcedir `pwd`" xmvn.s
|
|||||||
# build RPM with custom mock config
|
# build RPM with custom mock config
|
||||||
rm -Rf ${resultdir}/*
|
rm -Rf ${resultdir}/*
|
||||||
# print root.log and build.log in case of failure
|
# print root.log and build.log in case of failure
|
||||||
trap "cat ${resultdir}/root.log; cat ${resultdir}/build.log || :" 0
|
trap "cat ${resultdir}/*.log || :" 0
|
||||||
mock -r ../..$PWD/fedora-rawhide-x86_64 SRPMS/*.src.rpm
|
mock -r ../..$PWD/fedora-rawhide-x86_64 SRPMS/*.src.rpm
|
||||||
|
|
||||||
# remove unneeded stuff
|
# remove unneeded stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user