diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-16 14:11:31 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-16 14:11:31 +0000 |
commit | feaad27b3224dbe8c9a65d05dda10a245ac6b9f6 (patch) | |
tree | 8444cc9defac80e42f24dea0bc496958fa929dca /bin | |
parent | 034e33caf06f933b8a5a580407a3934f2dfbfa6f (diff) | |
download | jenkins.debian.net-feaad27b3224dbe8c9a65d05dda10a245ac6b9f6.tar.xz |
reproducible: one FIXME down
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.sh | 8 |
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 |