Re: "${xxx}" problem in env.Textfile source string

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 5/5/22 08:56, liruncong2018 via Scons-users wrote:
> Hi,
> How to make "${xxx}" in the env.Textfile source string output as it is,
> without being replaced with an empty string?
> str = "${workspaceRoot}\\myPath"

double the dollar sign.

A note on this recently was added to the manpage, not in a published
version yet, but it will look like:

* For a literal $ use $$. For example, $$FOO will be left in the final
string as $FOO.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.