Builder: set umask
authorSam Hartman <hartmans@debian.org>
Wed, 24 Nov 2010 18:48:40 +0000 (13:48 -0500)
committerSam Hartman <hartmans@debian.org>
Wed, 24 Nov 2010 18:48:40 +0000 (13:48 -0500)
So that make install produces installations that can be read by non-root, set the umask correctly.

builder

diff --git a/builder b/builder
index 579d684..93ee301 100755 (executable)
--- a/builder
+++ b/builder
@@ -140,6 +140,7 @@ if options.schroot is not None:
 all_packages = read_packages()
 if len(packages) == 0: packages = all_packages
 
+os.umask(022)
 
 try:
     for p in all_packages: