mirror of https://gitee.com/openkylin/libvirt.git
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 += vshError
|
||||
|
||||
func_or := $(shell echo $(msg_gen_function)|tr -s ' ' '|')
|
||||
func_re := ($(func_or))
|
||||
space =
|
||||
space +=
|
||||
func_re= ($(subst $(space),|,$(msg_gen_function)))
|
||||
|
||||
# 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.
|
||||
|
|
Loading…
Reference in New Issue