summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-10-13 01:43:40 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-13 01:43:40 +0200
commite5d1afffdf442f53ac1bbeb7047ba732b0da3f6a (patch)
treea38db0dc2c3f8ce03c51c91a92477c0537c28762 /bin
parent33f8d2730efef4959751cd2dd8eb940a6519fd3c (diff)
downloadjenkins.debian.net-e5d1afffdf442f53ac1bbeb7047ba732b0da3f6a.tar.xz
reproducible: make scripts and debug mode less chatty
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 447cd198..3ab81c8f 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -1,12 +1,12 @@
#!/bin/bash
-
# Copyright 2014-2016 Holger Levsen <holger@layer-acht.org>
# © 2015 Mattia Rizzolo <mattia@mapreri.org>
# released under the GPLv=2
#
-# included by all reproducible_*.sh scripts
-#
+# included by all reproducible_*.sh scripts, so be quiet
+set +x
+
# define db
PACKAGES_DB=/var/lib/jenkins/reproducible.db
INIT=/var/lib/jenkins/reproducible.init
@@ -111,6 +111,10 @@ PAGE_FOOTER_TEMPLATE=$TEMPLATE_PATH/default_page_footer.mustache
PROJECT_LINKS_TEMPLATE=$TEMPLATE_PATH/project_links.mustache
MAIN_NAVIGATION_TEMPLATE=$TEMPLATE_PATH/main_navigation.mustache
+# be loud again if DEBUG
+if $DEBUG ; then
+ set -x
+fi
# sleep 1-23 secs to randomize start times
delay_start() {