[Secure-testing-commits] r20167 - bin
Raphael Geissert
geissert at alioth.debian.org
Sat Sep 15 00:27:05 UTC 2012
Author: geissert
Date: 2012-09-15 00:27:05 +0000 (Sat, 15 Sep 2012)
New Revision: 20167
Modified:
bin/gen-DSA
Log:
Fix the Subject automagically when releasing a regression update
Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA 2012-09-15 00:22:04 UTC (rev 20166)
+++ bin/gen-DSA 2012-09-15 00:27:05 UTC (rev 20167)
@@ -174,6 +174,10 @@
tmpf=$(mktemp)
cat doc/DSA.template > $tmpf
+if [ "$VULNERABILITY" = regression ]; then
+ sed -ri '/^Subject:/s/security update$/regression update/' $tmpf
+fi
+
name_length=${#DEBFULLNAME}
spacing=$((24-$name_length))
SPACEDDEBFULLNAME="$DEBFULLNAME"
More information about the Secure-testing-commits
mailing list