[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/1.0.0-4-g250b1c6

Stephane Glondu steph at glondu.net
Sat Aug 6 22:48:35 UTC 2011


The following commit has been merged in the master branch:
commit cfca9eb388620319e470314a2278737b8b1c72d9
Author: Stephane Glondu <steph at glondu.net>
Date:   Sun Aug 7 00:43:11 2011 +0200

    Set umask to 0022 in dh_ocaml (Closes: #636906)

diff --git a/debhelper/dh_ocaml b/debhelper/dh_ocaml
index bfd4114..de4535b 100755
--- a/debhelper/dh_ocaml
+++ b/debhelper/dh_ocaml
@@ -191,6 +191,9 @@ sub exec_default ($$)
   return $res;
 }
 
+# To avoid unusual permissions for created files/directories (#636906)
+umask 0022;
+
 my $omd5 = exec_default("OCAML_MD5SUMS", "/usr/bin/ocaml-md5sums");
 my $olintian = exec_default("OCAML_LINTIAN", "/usr/bin/ocaml-lintian");
 

-- 
dh-ocaml packaging



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