From e17e5ba9bff633b5f2b6e9950b3bb64b59079c74 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 13 Apr 2017 10:30:56 -0400 Subject: meson: use join_paths consistently With -Dsplit-usr=true, we set rootprefix to /. This leads to //lib/systemd or //lib/udev for various dir variables. Using join_paths() avoids this. --- shell-completion/bash/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell-completion/bash') diff --git a/shell-completion/bash/meson.build b/shell-completion/bash/meson.build index bbd705c1cf..07de1d232a 100644 --- a/shell-completion/bash/meson.build +++ b/shell-completion/bash/meson.build @@ -6,7 +6,7 @@ if bashcompletiondir == '' if bash_completion.found() bashcompletiondir = bash_completion.get_pkgconfig_variable('completionsdir') else - bashcompletiondir = datadir + '/bash-completion/completions' + bashcompletiondir = join_paths(datadir, 'bash-completion/completions') endif message('bash completions: @0@'.format(bashcompletiondir)) -- cgit v1.2.3-54-g00ecf