From f2aa672ec40fc039af7282e30835e74c88afd57b Mon Sep 17 00:00:00 2001 From: Jerry Date: Fri, 6 Sep 2019 16:22:58 +0800 Subject: [PATCH] buildbot: chmod --- buildbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildbot.py b/buildbot.py index f2cce99..c8b562a 100755 --- a/buildbot.py +++ b/buildbot.py @@ -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 \