Fix a nested scope issue.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 2 Mar 2009 19:09:47 +0000 (19:09 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 2 Mar 2009 19:09:47 +0000 (19:09 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4060 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/MSCommon/common.py

index 1e4aef87841077a49d259f7a1b0b1b1c0d6ba921..35832466981463606732a85a3c4dfa862fe207a8 100644 (file)
@@ -125,7 +125,7 @@ def parse_output(output, keep = ("INCLUDE", "LIB", "LIBPATH", "PATH")):
     for i in keep:
         rdk[i] = re.compile('%s=(.*)' % i, re.I)
 
-    def add_env(rmatch, key):
+    def add_env(rmatch, key, dkeep=dkeep):
         plist = rmatch.group(1).split(os.pathsep)
         for p in plist:
             # Do not add empty paths (when a var ends with ;)