summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"