diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-04-22 13:34:33 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-04-22 13:34:33 +0200 |
commit | ce47103ce11dfea1559a513a1610c467f7e8f6cc (patch) | |
tree | edcd9dfca8d5f30475521aba882a0992f82d62e0 | |
parent | 52b794f0f6c57d93e2a959b8b4abc3d4c7563dc4 (diff) | |
download | jenkins.debian.net-ce47103ce11dfea1559a513a1610c467f7e8f6cc.tar.xz |
reproducible: fixup 52b794f0
-rwxr-xr-x | bin/reproducible_common.sh | 7 |
1 files 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() { |