[elbe-devel] [PATCH 3/3] hooks: chmod 755 on all hooks

Manuel Traut manut at linutronix.de
Wed Apr 17 18:15:16 CEST 2019


all hooks need to be executable

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/elbeproject.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 46e15598..f70d5a92 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -713,12 +713,11 @@ class ElbeProject (object):
         pbuilder_write_apt_conf(self.builddir, self.xml)
         pbuilder_write_repo_hook(self.builddir, self.xml)
         self.log.do(
-            'chmod 755 "%s"' %
+            'chmod -R 755 "%s"' %
             os.path.join(
                 self.builddir,
                 "pbuilder",
-                "hooks.d",
-                "G10elbe_apt_sources"))
+                "hooks.d"))
 
         # Run pbuilder --create
         self.log.do('pbuilder --create --configfile "%s" --aptconfdir "%s" '
-- 
2.20.1




More information about the elbe-devel mailing list