summaryrefslogtreecommitdiff
path: root/test/multiline.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 +0000
committerSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 +0000
commit6f4f6e4639a3a4a796b28322ba07b9b81f2c354f (patch)
treebf1be1f8cebc4b016b9856f27d1cf84879b547be /test/multiline.py
parent580b07ed247ab0de0ea96093fc2c4baa28c35c65 (diff)
downloadscons-git-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.gz
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 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')