Skip to content
Snippets Groups Projects
Commit dbb25bfe authored by Ben Boeckel's avatar Ben Boeckel
Browse files

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.
parent 4bc6ace2
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ def install(self, spec, prefix): ...@@ -16,7 +16,7 @@ def install(self, spec, prefix):
cp = which('cp') cp = which('cp')
bindir = os.path.join(prefix, 'bin') bindir = os.path.join(prefix, 'bin/')
mkdir(bindir) mkdir(bindir)
cp('-a', '-t', bindir, 'ninja') cp('-a', 'ninja', bindir)
cp('-ra', 'misc', prefix) cp('-a', 'misc', prefix)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment