[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.4.1-30-g5310a1f

Mehdi Dogguy dogguy at pps.jussieu.fr
Mon Jun 22 13:17:49 UTC 2009


The following commit has been merged in the master branch:
commit 5310a1ff1d0d6b2c7cfb6d1529005b2ff5d0c82e
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Mon Jun 22 15:10:20 2009 +0200

    Safer regular expression to detect a mail signature

diff --git a/tools/dom-save-patches b/tools/dom-save-patches
index 8aff732..d8834b4 100755
--- a/tools/dom-save-patches
+++ b/tools/dom-save-patches
@@ -10,7 +10,7 @@ error () {
 clean_patch () {
     mv $1 $1~
     ## Assertion: There is at least one line that matches "^-- "
-    head -n `grep -n '^-- ' $1~ | tail -n1 | cut -d: -f1` $1~ > $1
+    head -n `grep -n '^-- $' $1~ | tail -n1 | cut -d: -f1` $1~ > $1
     rm -f $1~
 }
 

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list