From 6f4f6e4639a3a4a796b28322ba07b9b81f2c354f Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Thu, 11 Oct 2001 23:13:20 +0000 Subject: Implement special variable substitution. --- test/multiline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/multiline.py') diff --git a/test/multiline.py b/test/multiline.py index d51fa723a..dca0b00ff 100644 --- a/test/multiline.py +++ b/test/multiline.py @@ -39,9 +39,9 @@ sys.exit(0) """) test.write('SConstruct', """ -B1 = Builder(name = 'B1', action = ["python build.py .temp %(source)s", - "python build.py %(target)s .temp"]) -B2 = Builder(name = 'B2', action = "python build.py .temp %(source)s\\npython build.py %(target)s .temp") +B1 = Builder(name = 'B1', action = ["python build.py .temp $sources", + "python build.py $targets .temp"]) +B2 = Builder(name = 'B2', action = "python build.py .temp $sources\\npython build.py $targets .temp") env = Environment(BUILDERS = [B1, B2]) env.B1(target = 'foo1.out', source = 'foo1.in') env.B2(target = 'foo2.out', source = 'foo2.in') -- cgit v1.2.1