summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2022-01-27 19:06:25 +0100
committerEmilio Pozuelo Monfort <pochu@debian.org>2022-02-01 16:16:50 +0100
commit47e07c9c94709f903d59cb57f1bf8d9668623be3 (patch)
treedffa9326171e1a0634925fa9f8f146fc385e542e /bin
parenta81067329d81882d0b8feff1eee1f48c85aa1cf4 (diff)
gen-DSA: sanitize DISTS var after calculating it
Rather than have every user have to do it.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-DSA4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index b23608ab84..e86a3721db 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -372,8 +372,10 @@ for dist in $CODENAMES; do
[ -z "$version" ] || DISTS="${DISTS},${dist}"
done
+DISTS="${DISTS#,}"
+
if [ -n "${DISTS}" ]; then
- bin/remove-cve-dist-tags "${DISTS#,}" "${PACKAGE}" ${CVE}
+ bin/remove-cve-dist-tags "${DISTS}" "${PACKAGE}" ${CVE}
fi
if ! $save; then

© 2014-2024 Faster IT GmbH | imprint | privacy policy