From da547f5533f338cc0c65877b44ca40adf31754f7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 10 Mar 2015 09:43:12 -0700 Subject: [PATCH] Fix mingw build, take 2 --- support/appveyor-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/appveyor-build.py b/support/appveyor-build.py index 8a4ecaf0..17a24408 100755 --- a/support/appveyor-build.py +++ b/support/appveyor-build.py @@ -12,7 +12,7 @@ if build == 'mingw': build_command = ['mingw32-make', '-j4'] test_command = ['mingw32-make', 'test'] # Remove the path to Git bin directory from $PATH because it breaks MinGW config. - path = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '') + os.environ['PATH'] = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '') else: build_command = ['msbuild', '/m:4', '/p:Config=' + config, 'FORMAT.sln'] test_command = ['msbuild', 'RUN_TESTS.vcxproj']