[Replicant] [PATCH 1/2] build-toolchain: use set -x to show more build details

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Tue Apr 24 19:31:55 UTC 2018


In build-toolchain, all commands take quite a long time to run, and can easily
lead to build failure on a GNU/Linux distribution that was not tested with this
script.

Using set -x will make it easier to find what command is running or has failed.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 build-toolchain | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-toolchain b/build-toolchain
index 727bd81..b45e484 100755
--- a/build-toolchain
+++ b/build-toolchain
@@ -17,6 +17,7 @@
 #
 
 set -e
+set -x
 
 BASEDIR=$(pwd)
 
-- 
2.7.4



More information about the Replicant mailing list