Commit 5afd35fa authored by Vitaly Lipatov's avatar Vitaly Lipatov

spec: keep spaces in set_var substing

parent 91b24742
...@@ -80,7 +80,7 @@ get_txtrelease() ...@@ -80,7 +80,7 @@ get_txtrelease()
set_var() set_var()
{ {
subst "0,/^$2:/s/^\($2:\).*\$/\1 $3/" $1 subst "0,/^$2:/s/^\($2:\)\([[:space:]]*\).*\$/\1\2$3/" $1
#subst "s|^\($2:\).*\$|\1 $3|q" $1 #subst "s|^\($2:\).*\$|\1 $3|q" $1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment