[Secure-testing-commits] r17263 - bin
Raphael Geissert
geissert at alioth.debian.org
Mon Sep 19 23:52:39 UTC 2011
Author: geissert
Date: 2011-09-19 23:52:39 +0000 (Mon, 19 Sep 2011)
New Revision: 17263
Modified:
bin/gen-DSA
Log:
Better handling of revisions of old DSAs
Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA 2011-09-19 23:46:28 UTC (rev 17262)
+++ bin/gen-DSA 2011-09-19 23:52:39 UTC (rev 17263)
@@ -77,7 +77,7 @@
}
if [ -z "$DSAID" ]; then
- latest_dsa="$(sed -r '/DSA-/{s/^.+DSA-([0-9]+).*$/\1/;q}' data/DSA/list)"
+ latest_dsa="$(sed -nr '/DSA-[0-9]+-1/{s/^.+DSA-([0-9]+).*$/\1/;p;q}' data/DSA/list)"
dsa=$(($latest_dsa+1))
c=0
while dsa_exists "$dsa-1"; do
More information about the Secure-testing-commits
mailing list