summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-30 14:59:08 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-30 14:59:08 -0700
commit228130ddc8293d155625478ed303f9b101c4e95a (patch)
tree4660c6345ab27b3c186db2b9ea36b6f57a31ff01 /var
parentb4580eb04ccafe4d565e44736cf3562921e8c204 (diff)
parentdbb25bfeed7113cbd6be090df52b97fcc10588e1 (diff)
downloadspack-228130ddc8293d155625478ed303f9b101c4e95a.tar.gz
spack-228130ddc8293d155625478ed303f9b101c4e95a.tar.bz2
spack-228130ddc8293d155625478ed303f9b101c4e95a.tar.xz
spack-228130ddc8293d155625478ed303f9b101c4e95a.zip
Merge pull request #693 from mathstuf/osx-ninja
ninja: fix installation on OS X
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ninja/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/ninja/package.py b/var/spack/repos/builtin/packages/ninja/package.py
index 9e6bf4e358..0722dd49a6 100644
--- a/var/spack/repos/builtin/packages/ninja/package.py
+++ b/var/spack/repos/builtin/packages/ninja/package.py
@@ -16,7 +16,7 @@ class Ninja(Package):
cp = which('cp')
- bindir = os.path.join(prefix, 'bin')
+ bindir = os.path.join(prefix, 'bin/')
mkdir(bindir)
- cp('-a', '-t', bindir, 'ninja')
- cp('-ra', 'misc', prefix)
+ cp('-a', 'ninja', bindir)
+ cp('-a', 'misc', prefix)