From 7e1ccca464a1a007370503fba14a70a9d09e2f6a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 28 Apr 2015 23:12:05 +0200 Subject: 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 4ab5c676..8f3e5184 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 -- cgit v1.2.3-70-g09d2