summaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-01 16:10:48 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-01 16:15:20 +0200
commite9b066ff924a8dc001b097e244f15058f368639c (patch)
treedc82c02adb0300d48f5de5514d27ca44ea7e1148 /test/meson.build
parentMerge pull request #32540 from DaanDeMeyer/mkosi (diff)
downloadsystemd-e9b066ff924a8dc001b097e244f15058f368639c.tar.xz
systemd-e9b066ff924a8dc001b097e244f15058f368639c.zip
test: Follow symlinks when copying with rsync
We have e.g. 25-default.link in test-network/ which becomes a broken symlink when installed so let's not copy the symlinks but follow them instead so they don't become broken.
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build
index 7290b98f0d..705762d533 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -29,7 +29,7 @@ if install_tests
# 'follow_symlinks' once we require Meson 1.3.0 or greater, see:
# https://github.com/mesonbuild/meson/commit/0af126fec798d6dbb0d1ad52168cc1f3f1758acd
if rsync.found()
- rsync_r = rsync.full_path() + ' -rlpt --exclude .gitattributes -- "@0@" "${DESTDIR:-}@1@"'
+ rsync_r = rsync.full_path() + ' -rLpt --exclude .gitattributes -- "@0@" "${DESTDIR:-}@1@"'
meson.add_install_script(sh, '-c',
rsync_r.format(meson.current_source_dir() / subdir, testdata_dir))
else