buildbot: chmod

This commit is contained in:
JerryXiao 2019-09-06 16:22:58 +08:00
parent 0709c337c4
commit f2aa672ec4
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ class jobsManager:
for fpath in [f for f in cwd.iterdir()]:
if fpath.is_dir() and \
fpath.name in ('pkg', 'src'):
if fpath.name == 'pkg':
fpath.chmod(0o0755)
rmtree(fpath)
elif rmpkg and fpath.is_file() and \
(fpath.name.endswith(PKG_SUFFIX) or \