summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-28 23:12:05 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-04-28 23:12:05 +0200
commit7e1ccca464a1a007370503fba14a70a9d09e2f6a (patch)
tree6d2f5d12f60555f8feb751350e9b026dbf2eb7ad
parenta26d0bede7fb1c9f09df262a8342a4db3744aef9 (diff)
downloadjenkins.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-xbin/reproducible_common.sh9
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