Set -x so that we can see where script fails 51/91551/1
authorThanh Ha <zxiiro@gmail.com>
Wed, 22 Jul 2020 20:19:49 +0000 (16:19 -0400)
committerThanh Ha <zxiiro@gmail.com>
Wed, 22 Jul 2020 20:21:06 +0000 (16:21 -0400)
Because we have `set -e` configured if the shell script fails
on a command that doesn't print out any details we may be lost
as to when / where failure occurs, set -x so that we can trace
where the script ended.

Change-Id: Ied07ca2c9fbd45b7e770688ca61f30231586b216
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
jjb/integration/multipatch-distribution.sh

index 55ce2b86622bfab95945fd6f1b50a1748fcaf70c..fd0684cfa0895ff89284c5d64a10dc4176dbf273 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-set -e
+set -ex
 
 # create a fresh empty place to build this custom distribution
 BUILD_DIR=${WORKSPACE}/patch_tester