diff options
Diffstat (limited to 'SCons/Action.py')
-rw-r--r-- | SCons/Action.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Action.py b/SCons/Action.py index 0110299..9f72efe 100644 --- a/SCons/Action.py +++ b/SCons/Action.py @@ -732,7 +732,7 @@ def _string_from_cmd_list(cmd_list): default_ENV = None -def get_default_ENV(env): +def get_default_ENV(env, target=None, source=None): """ A fiddlin' little function that has an 'import SCons.Environment' which can't be moved to the top level without creating an import loop. Since @@ -924,7 +924,7 @@ class CommandAction(_ActionAction): escape = env.get('ESCAPE', lambda x: x) - ENV = env.get('SHELL_ENV_EXPANDER', get_default_ENV)(env) + ENV = env.get('SHELL_ENV_EXPANDER', get_default_ENV)(env, target, source) # Ensure that the ENV values are all strings: for key, value in ENV.items(): |