Skip to content

Commit b905c9f

Browse files
authored
Merge pull request xbmc#27441 from fuzzard/win_vswhereenv
[windows] download-msys2 call vswhere to setup env
2 parents 2907110 + d74d868 commit b905c9f

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat arm store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat arm64
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x86 store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x86
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x64 store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x64
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD

0 commit comments

Comments
 (0)