mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
cfg.mk: use subst instead of tr
GNU make is able to replace characters, no need to call tr.
This commit is contained in:
parent
5e045eca90
commit
1fe77f9f7f
5
cfg.mk
5
cfg.mk
@ -614,8 +614,9 @@ msg_gen_function += xenapiSessionErrorHandler
|
|||||||
# msg_gen_function += vshPrint
|
# msg_gen_function += vshPrint
|
||||||
# msg_gen_function += vshError
|
# msg_gen_function += vshError
|
||||||
|
|
||||||
func_or := $(shell echo $(msg_gen_function)|tr -s ' ' '|')
|
space =
|
||||||
func_re := ($(func_or))
|
space +=
|
||||||
|
func_re= ($(subst $(space),|,$(msg_gen_function)))
|
||||||
|
|
||||||
# Look for diagnostics that aren't marked for translation.
|
# Look for diagnostics that aren't marked for translation.
|
||||||
# This won't find any for which error's format string is on a separate line.
|
# This won't find any for which error's format string is on a separate line.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user