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

Sylvain Le Gall gildor at debian.org
Sat Nov 20 00:59:10 UTC 2010


The following commit has been merged in the master branch:
commit 94ae27000298101188a629fbcc6b28420021fe10
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Sat Nov 20 01:57:59 2010 +0100

    Really use the name of the current directory for debian_name

diff --git a/src/Main.ml b/src/Main.ml
index 65031d2..b81603b 100644
--- a/src/Main.ml
+++ b/src/Main.ml
@@ -35,7 +35,7 @@ let uploader =
 let deb_name =
   Conf.create 
     ~cli:"--debian-name"
-    "Source package name in Debian (e.g. extunix become ocaml-extunix)"
+    "Source package name in Debian (e.g. extunix becomes ocaml-extunix)"
     Conf.ShortInput
 
 let itp =
@@ -91,7 +91,7 @@ let () =
   in
 
   let () = 
-    let cur_dn = FilePath.dirname (pwd ()) in
+    let cur_dn = FilePath.basename (pwd ()) in
     let pkg_nm = pkg.OASISTypes.name in
       if pkg_nm = cur_dn then
         Conf.set deb_name cur_dn

-- 
oasis2debian project



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