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.
This commit is contained in:
Michael Biebl
2017-04-23 21:47:28 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 082ef2adbd
commit e17e5ba9bf
16 changed files with 110 additions and 110 deletions
+1 -1
View File
@@ -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))