From a0b4a3c0659e56937ac4ba5ded3aa017a0da9b27 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 17 Oct 2014 23:32:16 +0200 Subject: reproducible: only link existing packages and count and thus schedule correctly --- bin/reproducible_common.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_common.sh') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 1a30bbaa..38c1333f 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -258,8 +258,12 @@ set_package_class() { force_package_targets() { for PKG in $@ ; do - set_package_class - LINKTARGET[$PKG]="$PKG" + if [ -f /var/lib/jenkins/userContent/rb-pkg/$PKG.html ] ; then + set_package_class + LINKTARGET[$PKG]="$PKG" + else + LINKTARGET[$PKG]="$PKG" + fi done } -- cgit v1.2.3-70-g09d2