From 4ecdbbefc9b720779846bd04bcf0980c046c4e5f Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 2 May 2024 15:05:31 +1000 Subject: [PATCH] build: increase verbosity on Makepkgs configure failure --- Makepkgs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makepkgs b/Makepkgs index 0801ae0223..7fe4686d3c 100755 --- a/Makepkgs +++ b/Makepkgs @@ -646,7 +646,11 @@ configure_pcp() else ($configure $configopts 2>&1 || touch $tmp/failed) >>"$LOGDIR/pcp" 2>&1 fi - [ -f $tmp/failed ] && build_failure Configure + if [ -f $tmp/failed ] + then + test -f config.log && cat config.log | tee -a "$LOGDIR/pcp" + build_failure Configure + fi $cfgonly && exit 0 }