Skip to content

Commit 91154e1

Browse files
author
Kristina Hanicova
committed
meson: introduce unquoted variable for path
We need two different variables for the path, one quoted for config.h and the other unquoted for cryptsetup.conf. Fixes: #980.
1 parent e2f8767 commit 91154e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ foreach default_option : (default_int_options)
6767
endforeach
6868

6969
conf.set('DEFAULT_LUKS2_LOCK_DIR_PERMS', get_option('default-luks2-lock-dir-perms'))
70+
conf.set('DEFAULT_LUKS2_LOCK_PATH_UNQUOTED', get_option('default-luks2-lock-path'))
7071

7172
sanitizer = get_option('b_sanitize')
7273
sanitizer_enabled = sanitizer != '' and sanitizer != 'none'

scripts/cryptsetup.conf.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d @DEFAULT_LUKS2_LOCK_PATH@ @DEFAULT_LUKS2_LOCK_DIR_PERMS@ root root -
1+
d @DEFAULT_LUKS2_LOCK_PATH_UNQUOTED@ @DEFAULT_LUKS2_LOCK_DIR_PERMS@ root root -

0 commit comments

Comments
 (0)