summaryrefslogtreecommitdiffstats
path: root/test/multiline.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
committerSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
commit6f4f6e4639a3a4a796b28322ba07b9b81f2c354f (patch)
treebf1be1f8cebc4b016b9856f27d1cf84879b547be /test/multiline.py
parent580b07ed247ab0de0ea96093fc2c4baa28c35c65 (diff)
downloadSCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.zip
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.gz
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.bz2
Implement special variable substitution.
Diffstat (limited to 'test/multiline.py')
-rw-r--r--test/multiline.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/multiline.py b/test/multiline.py
index d51fa72..dca0b00 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')