Kaydet (Commit) 46412b41 authored tarafından David Tardon's avatar David Tardon

mangle file mode to avoid breaking rebuilds

Change-Id: Id436bdbf3a307a3a3c9735ad911e397a21ab701b
üst 047bc546
......@@ -87,6 +87,10 @@ def nsinstall(argv):
# mode is specified
try:
options.m = int(options.m, 8)
# I have no idea why nss insists on using this mode for installed headers.
# It causes problems with updating the files during a rebuild.
if options.m == 0444:
options.m = 0644
except:
sys.stderr.write('nsinstall: ' + options.m + ' is not a valid mode\n')
return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment