From 813b75b8c2577a4d5b08eb38f7b3a9c3dd200495 Mon Sep 17 00:00:00 2001 From: Reid Wagner Date: Fri, 29 Sep 2017 19:53:24 -0700 Subject: Replace GNU cp flag --preserve, which does not exist on OS X, with compatible -p, which works with both BSD and GNU cp. --- test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index f84e86b..c0edde2 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,7 +2,7 @@ test_scripts = [ 'conftest.py', 'pytest.ini', 'test_sshfs.py', 'util.py' ] custom_target('test_scripts', input: test_scripts, output: test_scripts, build_by_default: true, - command: ['cp', '-fP', '--preserve=mode', + command: ['cp', '-fPp', '@INPUT@', meson.current_build_dir() ]) # Provide something helpful when running 'ninja test' -- cgit v1.2.3