From 8c9400b676a61739f25ca827a7d95d976999c891 Mon Sep 17 00:00:00 2001 From: Wouter van Kesteren Date: Thu, 2 Mar 2017 21:21:40 +0100 Subject: 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 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 --- make/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') 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) -- cgit v1.2.3