]> git.pld-linux.org Git - packages/gtk-doc.git/blame - gtk-doc-chmod.patch
- added chmod patch (add u+w bit instead of setting to only u=w); release 2
[packages/gtk-doc.git] / gtk-doc-chmod.patch
CommitLineData
dfc877b4
JB
1--- gtk-doc-1.30/gtkdoc/highlight.py.orig 2019-05-08 21:03:58.000000000 +0200
2+++ gtk-doc-1.30/gtkdoc/highlight.py 2019-05-15 22:08:04.921285203 +0200
3@@ -47,6 +47,7 @@
4
5
6 def append_style_defs(css_file_name):
7- os.chmod(css_file_name, stat.S_IWRITE)
8+ st = os.stat(css_file_name)
9+ os.chmod(css_file_name, st.st_mode | stat.S_IWRITE)
10 with open(css_file_name, 'at', newline='\n', encoding='utf-8') as css:
11 css.write(HTML_FORMATTER.get_style_defs())
This page took 0.470107 seconds and 4 git commands to generate.