From 7524934cf4f63822e411b83405f02858d581cf7d Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Mon, 6 Oct 2008 18:20:34 -0500 Subject: Fix permissions for install_* targets --- pavement.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pavement.py b/pavement.py index 87f8583..f437642 100644 --- a/pavement.py +++ b/pavement.py @@ -47,7 +47,7 @@ def install_templates(): "/templates") if not os.path.exists(templates_dir): templates_dir.makedirs(0755) - command = "install -p %s %s" % (template_file, templates_dir) + command = "install -cpm 644 %s %s" % (template_file, templates_dir) dry(command, paver.runtime.sh, [command]) @@ -64,5 +64,5 @@ def install_executable(): bin_dir = paver.path.path(root_dir + options.bin_dir) if not os.path.exists(bin_dir): bin_dir.makedirs(0755) - command = "install -p %s %s" % ("fedora-business-cards", bin_dir) + command = "install -cpm 755 %s %s" % ("fedora-business-cards", bin_dir) dry(command, paver.runtime.sh, [command]) -- cgit