Commit 0069526c5adea9e6268b8a0087a6120c9c5c89fa

Anthony Green 2019-11-28T18:58:40

Make build errors easier to debug

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/.travis/build-cross-in-container.sh b/.travis/build-cross-in-container.sh
index 11447db..7e2252c 100755
--- a/.travis/build-cross-in-container.sh
+++ b/.travis/build-cross-in-container.sh
@@ -2,14 +2,11 @@
 
 cd /opt
 
-set -x
 echo $PATH
 export PATH=/usr/local/bin:$PATH
 echo $PATH
 
-ls -l /usr/local/bin
-
-./configure --host=${HOST}
+./configure --host=${HOST} || cat */config.log
 make
 make dist
 make check RUNTESTFLAGS="-a $RUNTESTFLAGS" || true