summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-05-19 20:33:03 -0400
committerGary Oberbrunner <garyo@oberbrunner.com>2012-05-19 20:33:03 -0400
commit94265ae3b335dbd5e9f41a691c1ce31722aa86f6 (patch)
tree0d85353f743488805eb3e2263e458d12714f1562
parent108ba31fe3f198ee38663ec226e1a758d31eb5c5 (diff)
parent09acf88692e22541733a12a465f035aabf99791b (diff)
downloadscons-94265ae3b335dbd5e9f41a691c1ce31722aa86f6.tar.gz
Merge mortoray fix for #2188, typo in example.
-rw-r--r--src/engine/SCons/Tool/textfile.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/textfile.xml b/src/engine/SCons/Tool/textfile.xml
index 54e801c4..3a53b573 100644
--- a/src/engine/SCons/Tool/textfile.xml
+++ b/src/engine/SCons/Tool/textfile.xml
@@ -140,7 +140,7 @@ env.Substfile('bar.in', SUBST_DICT = good_bar)
# the SUBST_DICT may be in common (and not an override)
substutions = {}
-subst = Environment(tools = ['textfile', SUBST_DICT = substitutions)
+subst = Environment(tools = ['textfile'], SUBST_DICT = substitutions)
substitutions['@foo@'] = 'foo'
subst['SUBST_DICT']['@bar@'] = 'bar'
subst.Substfile('pgm1.c', [Value('#include "@foo@.h"'),