summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-16 14:11:31 +0000
committerHolger Levsen <holger@layer-acht.org>2015-02-16 14:11:31 +0000
commitfeaad27b3224dbe8c9a65d05dda10a245ac6b9f6 (patch)
tree8444cc9defac80e42f24dea0bc496958fa929dca
parent034e33caf06f933b8a5a580407a3934f2dfbfa6f (diff)
downloadjenkins.debian.net-feaad27b3224dbe8c9a65d05dda10a245ac6b9f6.tar.xz
reproducible: one FIXME down
-rwxr-xr-xbin/reproducible_common.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 8f3f2375..e379ad9a 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -138,11 +138,11 @@ JENKINS_URL=${JENKINS_URL:0:-1}
# we only need them for html creation but we cannot declare them in a function
declare -A SPOKENTARGET
declare -A LINKTARGET
+
NOTES_PATH=/var/lib/jenkins/userContent/notes
ISSUES_PATH=/var/lib/jenkins/userContent/issues
-mkdir -p $NOTES_PATH $ISSUES_PATH
-# FIXME RB_PATH would also be a good idea
-mkdir -p /var/lib/jenkins/userContent/rb-pkg/
+RB_PATH=/var/lib/jenkins/userContent/rb-pkg/
+mkdir -p $NOTES_PATH $ISSUES_PATH $RB_PATH
# known package sets
META_PKGSET[1]="essential"
@@ -285,7 +285,7 @@ set_package_class() {
force_package_targets() {
for PKG in $@ ; do
- if [ -f /var/lib/jenkins/userContent/rb-pkg/$PKG.html ] ; then
+ if [ -f $RB_PATH/$PKG.html ] ; then
set_package_class
LINKTARGET[$PKG]="<a href=\"/userContent/rb-pkg/$PKG.html\" $CLASS>$PKG</a>"
else