1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
8 textfile()'s action is not sensitive to changes in TEXTFILESUFFIX (rather was sensitive to SUBSTFILESUFFIX)
11 text_file_suffix = ARGUMENTS.get('text_file_suffix', 'DEFAULTSUFFIX')
12 DefaultEnvironment(tools=[])
13 env = Environment(tools=['textfile'], TEXTFILESUFFIX=text_file_suffix)
14 env['FOO_PATH'] = "test-value-1"
18 source="substfile.in",
20 "@foo_path@": "$FOO_PATH",