diff --git a/bin/create_config.sh b/bin/create_config.sh index 511b4770f2adee3dca12d4a25ca3c34d28bc844d..1d50c589fbb10550840e388f9f641c4df53cd755 100755 --- a/bin/create_config.sh +++ b/bin/create_config.sh @@ -98,7 +98,7 @@ do # Ruby erb template syntax to write a variable: <% @replace["mykey"] %> # Here are 2 regex to handle single and double quotes - regex1="<\%\=\ *\@replace\[\'$key\'\]\ *\%>" + regex1="<\%\=\ *\@replace\['$key'\]\ *\%>" regex2="<\%\=\ *\@replace\[\"$key\"\]\ *\%>" # Show a warning if both regex do not match @@ -132,6 +132,7 @@ if [ $? -ne 0 ]; then exit 4 fi +echo echo --- Check missing replacements grep '<\%\=\ *\@replace\[' ${outfile} >/dev/null if [ $? -eq 0 ]; then