summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_create_meta_pkg_sets.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-07 18:23:03 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-07 18:23:03 +0100
commitf273ecd2bd9797cfb3be76eefc117553480d45d4 (patch)
tree7aa4bc6001fc02d51af894062356ad0c7a4dea1a /bin/reproducible_create_meta_pkg_sets.sh
parentfa668a7768cb1b21eb1ee42e7aafdd392c22aadf (diff)
downloadjenkins.debian.net-f273ecd2bd9797cfb3be76eefc117553480d45d4.tar.xz
reproducible Debian: use a bigger hammer, the small one doesnt work: https://jenkins.debian.net/view/reproducible/job/reproducible_create_meta_pkg_sets/501/console
Diffstat (limited to 'bin/reproducible_create_meta_pkg_sets.sh')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh19
1 files changed, 9 insertions, 10 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 351ab040..eadd4449 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -34,16 +34,15 @@ import yaml
try:
with open(sys.argv[1]) as fd:
manifest = yaml.load(fd)
-except Exception as exc:
- print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
- sys.exit(0)
-
-seen = set()
-for pkg in (manifest['packages']['binary'] + manifest['packages']['source']):
- pkgname = pkg['package']
- if pkgname not in seen:
- print(pkgname, end='|')
- seen.add(pkgname)
+
+ seen = set()
+ for pkg in (manifest['packages']['binary'] + manifest['packages']['source']):
+ pkgname = pkg['package']
+ if pkgname not in seen:
+ print(pkgname, end='|')
+ seen.add(pkgname)
+ except Exception as exc:
+ print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
EOF
)
grep-dctrl -F Package -e '^('"$ALL_PKGS"')$' $packages > "$tmpfile"