summaryrefslogtreecommitdiff
path: root/engine/SCons/Subst.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-12-28 14:18:55 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-12-28 14:18:55 +0100
commit6298ea00640a74af4eecbf3528ea87bd191a2eba (patch)
tree6f9badf5b8f69055849260093eb76ce184e746ef /engine/SCons/Subst.py
parent0809a628a8aa042fe6bb225d4d70e63f289eaafb (diff)
parent5d14e9e6b9aa6c884d8a4787cd248c9ab3612962 (diff)
Konflikte behobendebian/3.1.2-1
Diffstat (limited to 'engine/SCons/Subst.py')
-rw-r--r--engine/SCons/Subst.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/SCons/Subst.py b/engine/SCons/Subst.py
index 618adf5..23030f4 100644
--- a/engine/SCons/Subst.py
+++ b/engine/SCons/Subst.py
@@ -26,7 +26,7 @@ SCons string substitution.
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-__revision__ = "src/engine/SCons/Subst.py 72ae09dc35ac2626f8ff711d8c4b30b6138e08e3 2019-08-08 14:50:06 bdeegan"
+__revision__ = "src/engine/SCons/Subst.py bee7caf9defd6e108fc2998a2520ddb36a967691 2019-12-17 02:07:09 bdeegan"
import collections
import re
@@ -409,7 +409,7 @@ def scons_subst(strSubst, env, mode=SUBST_RAW, target=None, source=None, gvars={
handles separating command lines into lists of arguments, so see
that function if that's what you're looking for.
"""
- if isinstance(strSubst, str) and strSubst.find('$') < 0:
+ if (isinstance(strSubst, str) and '$' not in strSubst) or isinstance(strSubst, CmdStringHolder):
return strSubst
class StringSubber(object):