_if comparisons of fields with a : in the value fail
lbt opened this issue · 1 comments
lbt commented
actual use:
Ruote.process_definition :name => 'try_equality' do
set 'project' => 'home:lbt:zDE:Trunk'
set 'final_project' => 'home:lbt:zDE:Trunk'
_if '${final_project} == ${project}' do
echo "Equal '${final_project} == ${project}'"
echo "Not Equal '${final_project} == ${project}'"
end
end
=>
Not Equal 'home:lbt:zDE:Trunk == home:lbt:zDE:Trunk'
actually: _if '${project} == ${project}' fails
jmettraux commented
Hello David,
as said over IRC the other day, please use
"${'x} == ${'y}" or "'${x}' == '${y}'"
Best regards.