summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorWouter van Kesteren <[email protected]>2017-03-02 21:21:40 +0100
committerBradley Sepos <[email protected]>2017-03-04 04:15:01 -0500
commit8c9400b676a61739f25ca827a7d95d976999c891 (patch)
tree7356b613abd6de0e3c0238cc9f7ae24260d53497 /make
parent31d0389758bd506a6c349d85c0d3191880d0dea4 (diff)
Unbreak non-mingw cross.
Strings in python are immutable and it results in: Traceback (most recent call last): File "make/configure.py", line 1592, in <module> action.run() File "make/configure.py", line 287, in run self._action() File "make/configure.py", line 506, in _action self.systemf[0] = self.systemf[0].upper() TypeError: 'str' object does not support item assignment
Diffstat (limited to 'make')
-rw-r--r--make/configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.py b/make/configure.py
index 833ffcef7..3209b7989 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -503,7 +503,7 @@ class BuildAction( Action, list ):
if self.match( '*mingw*' ):
self.systemf = 'MinGW'
elif self.systemf:
- self.systemf[0] = self.systemf[0].upper()
+ self.systemf = self.systemf.capitalize()
self.title = '%s %s' % (build.systemf,self.machine)
else:
self.title = '%s %s' % (build.systemf,arch.mode.mode)