diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2015-02-23 21:53:56 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2015-02-26 22:33:00 +0000 |
commit | e71a29a3f499e7e983cc8d0edc64ef8921c955ba (patch) | |
tree | e1817c100aaf2bc71a20703bcbc27451796c0b72 /scripts | |
parent | c0ff811fba152b447db276bf097a813d227d7648 (diff) |
Improve debug logs
Change-Id: I5ed08e39d23aebb799686701513055804639cd16
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/Backport.job | 4 | ||||
-rwxr-xr-x | scripts/test-schroot.sh | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Backport.job b/scripts/Backport.job index 2bb0ee37..d70f35b4 100755 --- a/scripts/Backport.job +++ b/scripts/Backport.job @@ -16,6 +16,10 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +# Improve debug logs +PRGNAME=`basename $0` +PS4='+ $PRGNAME: ${FUNCNAME+"$FUNCNAME : "}$LINENO: ' + usage() { # Format this section with 75 columns. diff --git a/scripts/test-schroot.sh b/scripts/test-schroot.sh index c7221447..05b8b0c2 100755 --- a/scripts/test-schroot.sh +++ b/scripts/test-schroot.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Improve debug logs +PRGNAME=`basename $0` +PS4='+ $PRGNAME: ${FUNCNAME+"$FUNCNAME : "}$LINENO: ' + set -e arch="native" |