Skip to content

Commit 1143ed6

Browse files
jeffhostetlerdscho
authored andcommitted
Merge pull request #1766 from jeffhostetler/gfw-msvc-bin-dir
find_vs_env.bat: Fix bin dir path used by msys
2 parents 1ca53fd + 51ae4b8 commit 1143ed6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compat/vcbuild/find_vs_env.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ REM ================================================================
154154
REM Include DOS-style and BASH-style path for bin dir.
155155

156156
echo msvc_bin_dir=%msvc_bin_dir%
157-
echo msvc_bin_dir_msys=%msvc_bin_dir:C:=/C%
157+
SET X1=%msvc_bin_dir:C:=/C%
158+
SET X2=%X1:\=/%
159+
echo msvc_bin_dir_msys=%X2%
158160

159161
echo msvc_includes=%msvc_includes%
160162
echo msvc_libs=%msvc_libs%

0 commit comments

Comments
 (0)