[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: make scripts and debug mode less chatty

Holger Levsen holger at layer-acht.org
Wed Oct 12 23:43:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e5d1afffdf442f53ac1bbeb7047ba732b0da3f6a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Oct 13 01:43:40 2016 +0200

    reproducible: make scripts and debug mode less chatty
---
 bin/reproducible_common.sh | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 447cd19..3ab81c8 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -1,12 +1,12 @@
 #!/bin/bash
 
-
 # Copyright 2014-2016 Holger Levsen <holger at layer-acht.org>
 #              © 2015 Mattia Rizzolo <mattia at 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() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list