Author: geissert
Date: 2016-12-01 21:54:01 +0000 (Thu, 01 Dec 2016)
New Revision: 46693

Modified:
   bin/gen-DSA
Log:
Use right_space to generate the CVE ids spacing


Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA 2016-12-01 21:52:40 UTC (rev 46692)
+++ bin/gen-DSA 2016-12-01 21:54:01 UTC (rev 46693)
@@ -186,11 +186,8 @@
 BUGNUM="$(split_n_sort "$BUGNUM")"
 
 CVE="$(split_n_sort "$CVE")"
-cve_spacing=
+cve_spacing="$(right_space '' 17)"
 
-for i in $(seq 0 16); do
-    cve_spacing="$cve_spacing "
-done
 sed_cmd='s/((CVE-[0-9-]+[ ]+){4})(.+)$/\1\\n'"$cve_spacing"'\3/g;P;D'
 CVE_LIST="$(printf '%s' "$CVE" | sed -r "$sed_cmd")"
 


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits

Reply via email to