* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / develop / scons / environment.patch
blob049a15253dff8056a6a100c747eed16dac8a037a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../scons/environment.patch
5 # Copyright (C) 2004 - 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 We must inherit the build environment to have the PATH to the wrappers as well
18 as their configuration.
20 - Rene Rebe <rene@exactcode.de>
22 diff -Nur scons-1.2.0-orig/engine/SCons/Action.py scons-1.2.0/engine/SCons/Action.py
23 --- scons-1.2.0-orig/SCons/Action.py 2009-02-09 06:48:11.000000000 +0000
24 +++ scons-1.2.0/SCons/Action.py 2009-02-09 06:48:59.000000000 +0000
25 @@ -561,7 +561,7 @@
26 def get_default_ENV(env):
27 global default_ENV
28 try:
29 - return env['ENV']
30 + return os.environ
31 except KeyError:
32 if not default_ENV:
33 import SCons.Environment