diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-28 23:12:05 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-28 23:12:05 +0200 |
commit | 7e1ccca464a1a007370503fba14a70a9d09e2f6a (patch) | |
tree | 6d2f5d12f60555f8feb751350e9b026dbf2eb7ad | |
parent | a26d0bede7fb1c9f09df262a8342a4db3744aef9 (diff) | |
download | jenkins.debian.net-7e1ccca464a1a007370503fba14a70a9d09e2f6a.tar.xz |
reproducible: common.sh: define $BASE, pointing to the http-published directory.
also do some cleanup of defined but unused variables and directory creation
-rwxr-xr-x | bin/reproducible_common.sh | 9 |
1 files 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 |