aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Wagner <wagnerreid@gmail.com>2017-09-29 19:53:24 -0700
committerNikolaus Rath <Nikolaus@rath.org>2017-10-25 19:27:13 +0100
commit813b75b8c2577a4d5b08eb38f7b3a9c3dd200495 (patch)
treea004470bc1ab1381dd82aeb64c63f26e635767fa
parenta115bde93fed3c699815579b1a4bfca66b3eaa4c (diff)
downloadsshfs-813b75b8c2577a4d5b08eb38f7b3a9c3dd200495.tar
sshfs-813b75b8c2577a4d5b08eb38f7b3a9c3dd200495.tar.gz
sshfs-813b75b8c2577a4d5b08eb38f7b3a9c3dd200495.tar.bz2
sshfs-813b75b8c2577a4d5b08eb38f7b3a9c3dd200495.zip
Replace GNU cp flag --preserve, which does not exist on OS X, with compatible -p, which works with both BSD and GNU cp.
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
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'