From ce47103ce11dfea1559a513a1610c467f7e8f6cc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 22 Apr 2015 13:34:33 +0200 Subject: reproducible: fixup 52b794f0 --- bin/reproducible_common.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index c1769e76..b39ddc01 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -261,7 +261,6 @@ set_package_class() { } link_packages() { - cd /srv/jenkins/bin for (( i=1; i<$#+1; i=i+400 )) ; do local string='[' local delimiter='' @@ -273,10 +272,12 @@ link_packages() { fi done local string+=']' - write_page " $(python3 -c "from reproducible_common import link_packages; \ + cd /srv/jenkins/bin + DATA=" $(python3 -c "from reproducible_common import link_packages; \ print(link_packages(${string}, '$SUITE', '$ARCH'))" 2> /dev/null)" + cd - > /dev/null + write_page "$DATA" done - cd - > /dev/null } gen_packages_html() { -- cgit v1.2.3-70-g09d2