From 1bdcd39a508b7ad9528d3f99d6cd72d33e7f1fd7 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Mon, 31 Oct 2016 20:37:58 -0500 Subject: [PATCH] add quotes to handle values with spaces --- utils/zmeditconfigdata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/zmeditconfigdata.sh b/utils/zmeditconfigdata.sh index f4cc33347..c95569f34 100755 --- a/utils/zmeditconfigdata.sh +++ b/utils/zmeditconfigdata.sh @@ -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