summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Defaults.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-09-24 01:00:54 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-09-24 01:00:54 (GMT)
commit6da2e3926185a44c20bbd3be3564b332e98afd65 (patch)
tree36f98759e145a48243d408d4e9946aa5a3b1c7ad /src/engine/SCons/Defaults.py
parent9d8ca555d5e95fde61fc3f43fa0fde632e487279 (diff)
downloadSCons-6da2e3926185a44c20bbd3be3564b332e98afd65.zip
SCons-6da2e3926185a44c20bbd3be3564b332e98afd65.tar.gz
SCons-6da2e3926185a44c20bbd3be3564b332e98afd65.tar.bz2
fix test so it should run on any platform
Diffstat (limited to 'src/engine/SCons/Defaults.py')
-rw-r--r--src/engine/SCons/Defaults.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py
index 69d5c94..87e831d 100644
--- a/src/engine/SCons/Defaults.py
+++ b/src/engine/SCons/Defaults.py
@@ -342,6 +342,7 @@ Touch = ActionFactory(touch_func,
# Internal utility functions
+
def _concat(prefix, list, suffix, env, f=lambda x: x, target=None, source=None):
"""
Creates a new list from 'list' by first interpolating each element
@@ -358,6 +359,7 @@ def _concat(prefix, list, suffix, env, f=lambda x: x, target=None, source=None):
return _concat_ixes(prefix, list, suffix, env)
+
def _concat_ixes(prefix, list, suffix, env):
"""
Creates a new list from 'list' by concatenating the 'prefix' and
@@ -395,6 +397,7 @@ def _concat_ixes(prefix, list, suffix, env):
return result
+
def _stripixes(prefix, itms, suffix, stripprefixes, stripsuffixes, env, c=None):
"""
This is a wrapper around _concat()/_concat_ixes() that checks for