diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2022-01-27 19:06:25 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2022-02-01 16:16:50 +0100 |
commit | 47e07c9c94709f903d59cb57f1bf8d9668623be3 (patch) | |
tree | dffa9326171e1a0634925fa9f8f146fc385e542e /bin/gen-DSA | |
parent | a81067329d81882d0b8feff1eee1f48c85aa1cf4 (diff) |
gen-DSA: sanitize DISTS var after calculating it
Rather than have every user have to do it.
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-x | bin/gen-DSA | 4 |
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 |