summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh8
1 files changed, 6 insertions, 2 deletions
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]="<a href=\"/userContent/rb-pkg/$PKG.html\" $CLASS>$PKG</a>"
+ LINKTARGET[$PKG]="<a href=\"/userContent/rb-pkg/$SUITE/$ARCH/$PKG.html\" $CLASS>$PKG</a>"
else
LINKTARGET[$PKG]="$PKG"
fi