From b85d08d121db51367cc79b551d8d939ceedcdf6b Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 27 Feb 2015 00:32:48 +0100 Subject: reproducible: move packages files under a suite-named directory, e.g. /rb-pkg/sid/ --- 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 5b8b62f4..363ca745 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -199,10 +199,14 @@ set_package_class() { } set_linktarget() { + local SUITE="$1" + local ARCH="$2" + shift + shift for PKG in $@ ; do - if [ -f $RB_PATH/$PKG.html ] ; then + if [ -f $RB_PATH/$SUITE/$PKG.html ] ; then set_package_class - LINKTARGET[$PKG]="$PKG" + LINKTARGET[$PKG]="$PKG" else LINKTARGET[$PKG]="$PKG" fi -- cgit v1.2.3-70-g09d2