Commit d1bb373a authored by Holger Levsen's avatar Holger Levsen

introduce common DEBUG variable

parent 36192840
......@@ -3,6 +3,7 @@
# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -4,6 +4,7 @@
# Copyright 2013 Antonio Terceiro <terceiro@debian.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -52,16 +52,20 @@ else
fi
# use these settings in the scripts in the (s)chroots too
export SCRIPT_HEADER="#!/bin/bash
if $DEBUG ; then
set -x
fi
set -e
set -x
export DEBIAN_FRONTEND=noninteractive
export LC_ALL=$LC_ALL
export http_proxy=$http_proxy
export MIRROR=$MIRROR"
# be more verbose
export
# be more verbose, maybe
if $DEBUG ; then
export
set -x
fi
set -e
set -x
fi
}
......@@ -3,6 +3,7 @@
# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012,2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012,2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
#
# included by all reproducible_*.sh scripts
#
......
......@@ -5,6 +5,7 @@
# Copyright 2014 Joachim Breitner <nomeata@debian.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
......@@ -3,6 +3,7 @@
# Copyright 2012,2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment