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
commit86583860f52b7499d2a9f703cdbcc041302a702a (patch)
treecb15e4ff7e124e897ffdd9fa4919173a575cdd7e /bin
parent7999cb56ae27e463b2516ff8e9e432f1f2bd2c78 (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