From 72a8e618729f320c0ff3033cfb0abd5cb27c5a60 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 21 Feb 2015 18:26:46 +0100 Subject: reproducible: rename force_package_targets() to set_linktarget() --- bin/reproducible_common.sh | 2 +- bin/reproducible_html_graphs.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 120ea9e2..1c1f331e 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -283,7 +283,7 @@ set_package_class() { fi } -force_package_targets() { +set_linktarget() { for PKG in $@ ; do if [ -f $RB_PATH/$PKG.html ] ; then set_package_class diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 1ab99d16..5bd331d8 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -312,20 +312,20 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do set_icon reproducible write_icon write_page "$COUNT_META_GOOD packages ($PERCENT_META_GOOD%) successfully built reproducibly:" - force_package_targets $META_GOOD + set_linktarget $META_GOOD link_packages $META_GOOD write_page "
" set_icon unreproducible write_icon write_page "$COUNT_META_BAD ($PERCENT_META_BAD%) packages failed to built reproducibly:" - force_package_targets $META_BAD + set_linktarget $META_BAD link_packages $META_BAD write_page "
" if [ $COUNT_META_UGLY -gt 0 ] ; then set_icon FTBFS write_icon write_page "$COUNT_META_UGLY ($PERCENT_META_UGLY%) packages failed to build from source:" - force_package_targets $META_UGLY + set_linktarget $META_UGLY link_packages $META_UGLY write_page "
" fi @@ -337,7 +337,7 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do set_icon 404 write_icon write_page "$COUNT_META_REST ($PERCENT_META_REST%) packages are either blacklisted, not for us or cannot be downloaded:" - force_package_targets $META_REST + set_linktarget $META_REST link_packages $META_REST write_page "
" fi -- cgit v1.2.3-70-g09d2