run-tests: Don't set -x until option parsing is done
This commit is contained in:
parent
c115f71640
commit
20470556f7
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e # quit script on error
|
||||
set -x # show each command as it is executed
|
||||
|
||||
echo_header() {
|
||||
{ echo -e "==============================================================================\n$1"; } 2>/dev/null
|
||||
|
@ -87,6 +86,7 @@ if [ -z $python ]; then
|
|||
python=python2
|
||||
fi
|
||||
|
||||
set -x # show each command as it is executed
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "run commit hooks"
|
||||
|
|
Loading…
Reference in New Issue