From: Steinar H. Gunderson Date: Sat, 28 Nov 2020 20:05:27 +0000 (+0100) Subject: Use join_paths() in Meson. X-Git-Tag: 1.1.0~14 X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=ddc5817ee81be45ce5eab251e5773284150da416 Use join_paths() in Meson. --- diff --git a/meson.build b/meson.build index 24c7bbc..1d53e94 100644 --- a/meson.build +++ b/meson.build @@ -44,7 +44,7 @@ executable('updatedb', ['updatedb.cpp', 'database-builder.cpp', 'conf.cpp', 'lib conf_data = configuration_data() conf_data.set('PROCESSED_BY_MESON', '1') -conf_data.set('sbindir', get_option('prefix') + '/' + get_option('sbindir')) +conf_data.set('sbindir', join_paths(get_option('prefix'), get_option('sbindir'))) conf_data.set('locategroup', get_option('locategroup')) update_script = configure_file(input: 'update-plocate.sh', output: 'update-plocate.sh',