Author: carnil Date: 2016-10-18 11:13:08 +0000 (Tue, 18 Oct 2016) New Revision: 45418
Modified: bin/sign-advisory.sh Log: Improve sign-advisory.sh to allow DLA signing Thanks: Brian May <b...@debian.org> Modified: bin/sign-advisory.sh =================================================================== --- bin/sign-advisory.sh 2016-10-18 11:07:56 UTC (rev 45417) +++ bin/sign-advisory.sh 2016-10-18 11:13:08 UTC (rev 45418) @@ -47,7 +47,7 @@ signed_dsa=${dsa}.signed # figure out the offset for actual DSA text, after headers -n=$(awk '/^-+/ {print NR ; exit}' $dsa) +n=$(awk '/^$/ {print NR+1 ; exit}' $dsa) # keep headers, and sign the content { head -n $(($n - 1)) $dsa ; tail -n +$n $dsa | gpg --clearsign ; } >| $signed_dsa _______________________________________________ Secure-testing-commits mailing list Secure-testing-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits