aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-11 10:46:07 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-11 10:46:07 +0200
commit1cba205140413bceb42d0a74132bdf38c7abfef8 (patch)
treee1255d3bdb06c0602dfec31dfffec183fc646f1a /test
parentda60a71393f046c92b844f5f5d889e17b106d2e4 (diff)
Call cp with -p instead of --preserve=mode
Preserving other attributes doesn't hurt, and --preserve is not supported under FreeBSD.
Diffstat (limited to 'test')
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build
index e50251c..69af767 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -15,7 +15,7 @@ test_scripts = [ 'conftest.py', 'pytest.ini', 'test_examples.py',
'util.py', 'test_ctests.py' ]
td += 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'