Skip to content

Commit 3f7c4cb

Browse files
committed
DEBUG: find and print bdb config.log
1 parent 113e175 commit 3f7c4cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cpython-unix/build-bdb.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55

66
set -ex
77

8+
debug() {
9+
error_code="${?}"
10+
echo "DEBUG - bdb config.log"
11+
cat "$(find . -name "config.log" -print -quit)"
12+
exit "${error_code}"
13+
}
14+
trap debug EXIT INT TERM
15+
816
ROOT=`pwd`
917

1018
export PATH=${TOOLS_PATH}/${TOOLCHAIN}/bin:${TOOLS_PATH}/host/bin:$PATH

0 commit comments

Comments
 (0)