summaryrefslogtreecommitdiffstats
path: root/bin/gen-DLA
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-DLA
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-DLA')
-rwxr-xr-xbin/gen-DLA2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-DLA b/bin/gen-DLA
index 1fa6a96306..38ee330d70 100755
--- a/bin/gen-DLA
+++ b/bin/gen-DLA
@@ -221,7 +221,7 @@ if $embargoed; then
fi
if [ -z "$DLAID" ]; then
- latest_dla="$(sed -nr '/DLA-[0-9]+-1/{s/^.+DLA-([0-9]+).*$/\1/;p;q}' data/DLA/list)"
+ latest_dla="$(sed -nr '/DLA-[0-9]+-1/{s/^.+DLA-[0]*([0-9]+).*$/\1/;p;q}' data/DLA/list)"
dla=$(($latest_dla+1))
c=0
while dla_exists "$dla-1"; do

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