summaryrefslogtreecommitdiffstats
path: root/bin/gen-DSA
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2014-07-22 20:29:53 +0000
committerRaphael Geissert <geissert@debian.org>2014-07-22 20:29:53 +0000
commit942c8cf9b162708089a6bba3dacc2e6d72404f4c (patch)
tree2b88840bc8ff72e1428cca1520433c48bd9006b9 /bin/gen-DSA
parentf17287addb86c4dab8a980bd963d8ab9a4de40fc (diff)
handle those useless 0s in front of the DLA ids
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@27895 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-xbin/gen-DSA2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index 919390b2f3..62427ebcac 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -226,7 +226,7 @@ if $embargoed; then
fi
if [ -z "$DSAID" ]; then
- latest_dsa="$(sed -nr '/DSA-[0-9]+-1/{s/^.+DSA-([0-9]+).*$/\1/;p;q}' data/DSA/list)"
+ latest_dsa="$(sed -nr '/DSA-[0-9]+-1/{s/^.+DSA-[0]*([0-9]+).*$/\1/;p;q}' data/DSA/list)"
dsa=$(($latest_dsa+1))
c=0
while dsa_exists "$dsa-1"; do

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