summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Weller <ianweller@gmail.com>2008-10-06 18:20:34 -0500
committerIan Weller <ianweller@gmail.com>2008-10-06 18:20:34 -0500
commit7524934cf4f63822e411b83405f02858d581cf7d (patch)
treee4892faadb106e255cc2e193aff4c909490682c4
parent4facdd80602d55022c2a30c6d4ff0d5dbcbac2ca (diff)
downloadfedora-business-cards-7524934cf4f63822e411b83405f02858d581cf7d.tar.gz
fedora-business-cards-7524934cf4f63822e411b83405f02858d581cf7d.tar.xz
fedora-business-cards-7524934cf4f63822e411b83405f02858d581cf7d.zip
Fix permissions for install_* targets
-rw-r--r--pavement.py4
1 files 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])