summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 949fbfd0..e26c7a81 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -262,14 +262,16 @@ set_package_class() {
}
set_linktarget() {
+ cd "$BASE"
for PKG in $@ ; do
if [ -f $RB_PATH/$SUITE/$ARCH/$PKG.html ] ; then
- set_package_class
- LINKTARGET[$PKG]="<a href=\"/userContent/rb-pkg/$SUITE/$ARCH/$PKG.html\" $CLASS>$PKG</a>"
+ LINKTARGET[$PKG]=$(python3 -c "from reproducible_common import link_package ; \
+ print(link_package('$PKG', '$SUITE', '$ARCH'))")
else
LINKTARGET[$PKG]="$PKG"
fi
done
+ cd - > /dev/null
}
link_packages() {