summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/jsoncpp/scons-tools/substinfile.py
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/jsoncpp/scons-tools/substinfile.py')
-rw-r--r--3rdparty/jsoncpp/scons-tools/substinfile.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/3rdparty/jsoncpp/scons-tools/substinfile.py b/3rdparty/jsoncpp/scons-tools/substinfile.py
index ef18b4edbcb..c620442d572 100644
--- a/3rdparty/jsoncpp/scons-tools/substinfile.py
+++ b/3rdparty/jsoncpp/scons-tools/substinfile.py
@@ -1,3 +1,8 @@
+# Copyright 2010 Baptiste Lepilleur
+# Distributed under MIT license, or public domain if desired and
+# recognized in your jurisdiction.
+# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+
import re
from SCons.Script import * # the usual scons stuff you get in a SConscript
import collections
@@ -70,7 +75,7 @@ def generate(env):
return target, source
## env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!?
- subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string )
+ subst_action = SCons.Action.Action(subst_in_file, subst_in_file_string)
env['BUILDERS']['SubstInFile'] = Builder(action=subst_action, emitter=subst_emitter)
def exists(env):