add quotes to handle values with spaces
This commit is contained in:
parent
9f84aaa537
commit
1bdcd39a50
|
@ -82,7 +82,7 @@ fi
|
|||
# Don't stare too closely. You will burn your eyes out.
|
||||
sed -i '/.*'${variable}'.*/{
|
||||
$!{ N
|
||||
s/\(.*'${variable}'.*\n.*\)\"\(.*\)\"/\1\"'${default}'\"/
|
||||
s/\(.*'${variable}'.*\n.*\)\"\(.*\)\"/\1\"'"${default}"'\"/
|
||||
t yes
|
||||
P
|
||||
D
|
||||
|
|
Loading…
Reference in New Issue