[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible: common.sh: define $BASE, pointing to the http-published directory.

Holger Levsen holger at moszumanska.debian.org
Wed Apr 29 07:58:37 UTC 2015


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 7e1ccca464a1a007370503fba14a70a9d09e2f6a
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Tue Apr 28 23:12:05 2015 +0200

    reproducible: common.sh: define $BASE, pointing to the http-published directory.
    
    also do some cleanup of defined but unused variables and directory creation
---
 bin/reproducible_common.sh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 4ab5c67..8f3e518 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -50,15 +50,12 @@ USERTAGS="toolchain infrastructure timestamps fileordering buildpath username ho
 # we only need them for html creation but we cannot declare them in a function
 declare -A SPOKENTARGET
 
-NOTES_PATH=/var/lib/jenkins/userContent/notes
-ISSUES_PATH=/var/lib/jenkins/userContent/issues
-RB_PATH=/var/lib/jenkins/userContent/rb-pkg/
-mkdir -p $NOTES_PATH $RB_PATH
+BASE="/var/lib/jenkins/userContent"
+mkdir -p "$BASE"
 
 # create subdirs for suites
 for i in $SUITES ; do
-	mkdir -p /var/lib/jenkins/userContent/$i
-	mkdir -p $ISSUES_PATH/$i
+	mkdir -p "$BASE/$i"
 done
 
 # known package sets

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