mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
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
|
#!/bin/bash
|
||||||
|
|
||||||
set -e # quit script on error
|
set -e # quit script on error
|
||||||
set -x # show each command as it is executed
|
|
||||||
|
|
||||||
echo_header() {
|
echo_header() {
|
||||||
{ echo -e "==============================================================================\n$1"; } 2>/dev/null
|
{ echo -e "==============================================================================\n$1"; } 2>/dev/null
|
||||||
@ -87,6 +86,7 @@ if [ -z $python ]; then
|
|||||||
python=python2
|
python=python2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x # show each command as it is executed
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
echo_header "run commit hooks"
|
echo_header "run commit hooks"
|
||||||
|
Loading…
Reference in New Issue
Block a user