mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Put a & into a config var
This commit is contained in:
parent
b7c5913683
commit
9f686a115f
1 changed files with 1 additions and 0 deletions
|
@ -658,6 +658,7 @@ ynh_write_var_in_file() {
|
|||
endline=${expression_with_comment#"$expression"}
|
||||
endline="$(echo "$endline" | sed 's/\\/\\\\/g')"
|
||||
value="$(echo "$value" | sed 's/\\/\\\\/g')"
|
||||
value=${value//&/"\&"}
|
||||
local first_char="${expression:0:1}"
|
||||
delimiter=$'\001'
|
||||
if [[ "$first_char" == '"' ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue