]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
build: Use prefixdir directly on sysconfdir
authorDaniel Wagner <dwagner@suse.de>
Mon, 6 Feb 2023 13:36:11 +0000 (14:36 +0100)
committerDaniel Wagner <dwagner@suse.de>
Mon, 6 Feb 2023 13:47:01 +0000 (14:47 +0100)
The sysconfdir is an explicit path '/etc' and the muon implementation of
join_paths is dropping the prefixdir, thus we need to string concanate
the syscondfir path instead of using the join_paths function.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
meson.build

index c05dc47fb9be7fcb66b55491fe5591e1ff1eb085..6eb27d5f4a8b3885b59bbad382a467c61cca13b5 100644 (file)
@@ -20,7 +20,7 @@ prefixdir  = get_option('prefix')
 datadir    = join_paths(prefixdir, get_option('datadir'))
 mandir     = join_paths(prefixdir, get_option('mandir'))
 sbindir    = join_paths(prefixdir, get_option('sbindir'))
-sysconfdir = join_paths(prefixdir, get_option('sysconfdir'))
+sysconfdir = prefixdir + get_option('sysconfdir')
 
 udevrulesdir   = join_paths(prefixdir, get_option('udevrulesdir'))
 dracutrulesdir = join_paths(prefixdir, get_option('dracutrulesdir'))