8000 fix perms on subdirs in devguide · python/docsbuild-scripts@ff091ee · GitHub
[go: up one dir, main page]

Skip to content

Commit ff091ee

Browse files
committed
fix perms on subdirs in devguide
1 parent 54724b2 commit ff091ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def build_devguide(devguide_checkout, devguide_target, sphinxbuild,
143143
shell_out("%s %s %s" % (sphinxbuild, devguide_checkout, build_directory))
144144
changed = changed_files(build_directory, devguide_target)
145145
shell_out("mkdir -p {}".format(devguide_target))
146+
shell_out("find %s -type d -exec chmod o+x {} ';'" % (build_directory,))
146147
shell_out("cp -a {}/* {}".format(build_directory, devguide_target))
147148
shell_out("chmod -R o+r %s" % (devguide_target,))
148149
if changed and not skip_cache_invalidation:

0 commit comments

Comments
 (0)
0