[Pkg-ocaml-maint-commits] [SCM] oasis2debian project branch, master, updated. 94ae27000298101188a629fbcc6b28420021fe10

Sylvain Le Gall gildor at debian.org
Sat Nov 20 00:58:34 UTC 2010


The following commit has been merged in the master branch:
commit f66fd9aa01c0fdeaaebc0887cf48fcbb81aebfbe
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Thu Nov 18 13:05:51 2010 +0000

    Default to '.' when description is empty

diff --git a/src/Control.ml b/src/Control.ml
index 3897881..4e0bad4 100644
--- a/src/Control.ml
+++ b/src/Control.ml
@@ -28,7 +28,13 @@ let create t =
              | str -> str)
         (String.nsplit t.description "\n")
     in
+    let res = 
       String.concat "\n " lst
+    in
+      if res = "" then
+        "."
+      else
+        res
   in
 
     debian_with_fn "control"

-- 
oasis2debian project



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