diff options
author | Raphael Geissert <geissert@debian.org> | 2014-07-22 20:29:53 +0000 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2014-07-22 20:29:53 +0000 |
commit | 5ef991e0c4818ca58be46dbffeaee8750eebfedc (patch) | |
tree | dd597e985b801335991207b02f49a7152cb8720b /bin/gen-DLA | |
parent | 126807149ddb6d9cd75dd1010e7bd506e18c9bc3 (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-x | bin/gen-DLA | 2 |
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 |