add quotes to handle values with spaces

This commit is contained in:
Andy Bauer 2016-10-31 20:37:58 -05:00
parent 9f84aaa537
commit 1bdcd39a50
1 changed files with 1 additions and 1 deletions

View File

@ -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