diff --git a/source/How-To-Guides/Launch-files-migration-guide.rst b/source/How-To-Guides/Launch-files-migration-guide.rst index 3d7976a65e..23f608003b 100644 --- a/source/How-To-Guides/Launch-files-migration-guide.rst +++ b/source/How-To-Guides/Launch-files-migration-guide.rst @@ -400,7 +400,7 @@ There are, however, some changes w.r.t. ROS 1: * There is a new ``find-exec`` substitution. * ``arg`` has been replaced with ``var``. It looks at configurations defined either with ``arg`` or ``let`` tag. -* ``eval`` and ``dirname`` substitutions require escape characters for string values, e.g. ``if="$(eval 'variable == \'val1\'')"``. +* ``eval`` and ``dirname`` substitutions require escape characters for string values, e.g. ``if="$(eval '\'$(var variable)\' == \'val1\'')"``. * ``anon`` substitution is not supported. Type inference rules