mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Gotta escape \ during ynh_replace_vars
This commit is contained in:
parent
05969184fe
commit
6ce02270ae
1 changed files with 1 additions and 0 deletions
|
@ -403,6 +403,7 @@ ynh_replace_vars () {
|
|||
match_string="__${one_var^^}__"
|
||||
match_string=${match_string//${delimit}/"\\${delimit}"}
|
||||
replace_string="${!one_var}"
|
||||
replace_string=${replace_string//\\/\\\\}
|
||||
replace_string=${replace_string//${delimit}/"\\${delimit}"}
|
||||
|
||||
# Actually replace (sed is used instead of ynh_replace_string to avoid triggering an epic amount of debug logs)
|
||||
|
|
Loading…
Add table
Reference in a new issue