diff options
author | Marcos CARDINOT <mcardinot@gmail.com> | 2014-03-13 14:56:02 +0000 |
---|---|---|
committer | Marcos CARDINOT <mcardinot@gmail.com> | 2014-03-13 14:56:02 +0000 |
commit | 7da3d705907d3b24409df3786404de286cd3d7e5 (patch) | |
tree | e09dea4fac73c52cb8994f7ffadb9cb31917968a /build/util.py | |
parent | 67a31a7237331cf957e70787ba2182cc2b04e107 (diff) |
Add values from stat
Diffstat (limited to 'build/util.py')
-rw-r--r-- | build/util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/util.py b/build/util.py index eba8f81b9b..21d94cc916 100644 --- a/build/util.py +++ b/build/util.py @@ -2,6 +2,7 @@ from SCons import Script import os import os.path import re +import stat CURRENT_VCS = None @@ -189,4 +190,4 @@ def write_build_header(path): '+' if modified else '')) finally: f.close() - os.chmod(path, 0666) + os.chmod(path, stat.S_IRWXU | stat.S_IRWXG |stat.S_IRWXO) |