From 372a2c8f7495754ed6ee2e47e4f53cf90a015e21 Mon Sep 17 00:00:00 2001 From: Marco Clemencic <marco.clemencic@cern.ch> Date: Mon, 30 Jan 2017 14:24:12 +0100 Subject: [PATCH] fix to bug introduced with !93 --- python/LbNightlyTools/Scripts/Index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/LbNightlyTools/Scripts/Index.py b/python/LbNightlyTools/Scripts/Index.py index ede43388..97f17e8e 100644 --- a/python/LbNightlyTools/Scripts/Index.py +++ b/python/LbNightlyTools/Scripts/Index.py @@ -176,7 +176,7 @@ class Script(BaseScript): for dirpath, _, filenames in os.walk(index_dir): os.chmod(dirpath, 0755) for filename in filenames: - os.chmod(filename, 0644) + os.chmod(join(dirpath, filename), 0644) self.log.info('packing indexes for %s...', proj) pack([proj.baseDir], join(self.artifacts_dir, self.packname(proj)), cwd=indexes_dir, checksum='md5') -- GitLab