summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-10 00:35:48 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-10 00:35:48 +0100
commitf359c966c3bf56d9ded35b565e35b0c9f4be8246 (patch)
treedc2604d5895f60baa6b8f8cf5109d04067e1dfe3 /bin/reproducible_common.sh
parentd1920f9ef3ba3800e10010224d3fb3a01d12cc49 (diff)
downloadjenkins.debian.net-f359c966c3bf56d9ded35b565e35b0c9f4be8246.tar.xz
reproducible Debian: refactor, drop the (now pointless) numbers…
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index c7a2d591..cb01bfe0 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -111,9 +111,11 @@ TABLE[9]=stats_bugs_sin_ftbfs_state
# package sets defined in meta_pkgsets.csv
# csv file columns: (pkgset_id, pkgset_group, pkgset_name)
+colindex=0
while IFS=, read col1 col2 col3
do
- META_PKGSET[$col1]=$col3
+ let colindex+=1
+ META_PKGSET[$colindex]=$col3
done < $BIN_PATH/reproducible_pkgsets.csv
# mustache templates