run-tests: Don't set -x until option parsing is done

This commit is contained in:
Daniel Martí 2015-11-01 13:52:16 +01:00
parent c115f71640
commit 20470556f7
1 changed files with 1 additions and 1 deletions

View File

@ -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"