diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2016-03-30 16:17:52 -0400 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2016-03-30 16:17:52 -0400 |
commit | dbb25bfeed7113cbd6be090df52b97fcc10588e1 (patch) | |
tree | 2b7c0a838f306a63da93af7bd3f91ba8f8e2d783 /var | |
parent | 4bc6ace201fc682a9a681b73d1096a95edb48c64 (diff) | |
download | spack-dbb25bfeed7113cbd6be090df52b97fcc10588e1.tar.gz spack-dbb25bfeed7113cbd6be090df52b97fcc10588e1.tar.bz2 spack-dbb25bfeed7113cbd6be090df52b97fcc10588e1.tar.xz spack-dbb25bfeed7113cbd6be090df52b97fcc10588e1.zip |
ninja: fix installation on OS X
The cp -t flag is a GNU-ism. Instead, add a trailing slash to bindir to
ensure that it is not treated as a file.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ninja/package.py | 6 |
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) |