From feaad27b3224dbe8c9a65d05dda10a245ac6b9f6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Feb 2015 14:11:31 +0000 Subject: reproducible: one FIXME down --- bin/reproducible_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') 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]="$PKG" else -- cgit v1.2.3-54-g00ecf