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
commit4a33a750407e377570dfe884e2eabb647194c0c2 (patch)
tree2d4f0d8139fb8a0d07aa8d59de466232c6191967 /bin
parent8dfb008c0fd1283a92b37c940f4cb5b0d2344548 (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