summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-18 19:05:02 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-18 19:05:02 +0200
commitb66da1449e038f11944d1e0c23065b6174099e13 (patch)
tree4984f81a62e51c0ea57e81a57688bac8ce42bb55
parent334c1b7de39c407e9a97325169dbe8facdc2b827 (diff)
downloadjenkins.debian.net-b66da1449e038f11944d1e0c23065b6174099e13.tar.xz
reproducible: turn another global variable into local
-rwxr-xr-xbin/reproducible_common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index f511b2d3..47c266a9 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -286,6 +286,7 @@ gen_packages_html() {
for (( i=1; i<$#+1; i=i+100 )) ; do
local string='['
local delimiter=''
+ local j
for (( j=0; j<100; j++)) ; do
local item=$(( $j+$i ))
if (( $item < $#+1 )) ; then