mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: use dashes in colour names
This commit is contained in:
parent
96164a3936
commit
f7c5427c28
@ -183,7 +183,7 @@ conf.set_quoted('SYSTEM_SYSVRCND_PATH', sysvrcnd_path)
|
||||
conf.set_quoted('RC_LOCAL_SCRIPT_PATH_START', get_option('rc-local'))
|
||||
conf.set_quoted('RC_LOCAL_SCRIPT_PATH_STOP', get_option('halt-local'))
|
||||
|
||||
conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').to_upper())
|
||||
conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').underscorify().to_upper())
|
||||
|
||||
conf.set_quoted('USER_CONFIG_UNIT_PATH', join_paths(pkgsysconfdir, 'user'))
|
||||
conf.set_quoted('USER_DATA_UNIT_PATH', userunitdir)
|
||||
|
@ -300,9 +300,9 @@ option('install-tests', type : 'boolean', value : 'false',
|
||||
|
||||
option('ok-color', type: 'combo',
|
||||
choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
|
||||
'white', 'highlight_black', 'highlight_red', 'highlight_green',
|
||||
'highlight_yellow', 'highlight_blue', 'highlight_magenta',
|
||||
'highlight_cyan', 'highlight_white'],
|
||||
'white', 'highlight-black', 'highlight-red', 'highlight-green',
|
||||
'highlight-yellow', 'highlight-blue', 'highlight-magenta',
|
||||
'highlight-cyan', 'highlight-white'],
|
||||
value : 'green',
|
||||
description: 'color of the "OK" status message')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user