]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: use a / b instead of join_paths(a, b)
authorDmitry V. Levin <ldv@strace.io>
Sun, 11 Aug 2024 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@strace.io>
Sun, 11 Aug 2024 08:00:00 +0000 (08:00 +0000)
commitf0ccb529593326073bd36d8fe6a52ea9f9434cb3
treebbc0818dfe095af40b464bef61c294c7ffa52cdf
parenta75c7a102e5dc3408ce8603a8722ba24f589971c
meson: use a / b instead of join_paths(a, b)

According to [1], since meson 0.49.0, using the / operator on strings
is equivalent to calling join_paths().

As the expressions written using the / operator are shorter and nicer
than their equivalents written using join_paths(), and given that
we've been using this new operator since commit
5f2c862a4aff19f5bc732e677405f04e2d07c211, let's convert remaining
join_paths() invocations to use the / operator instead.

[1] https://mesonbuild.com/Reference-manual_functions.html#join_paths
libblkid/meson.build
libfdisk/meson.build
libmount/meson.build
libsmartcols/meson.build
meson.build