Skip to content

Commit 0b45281

Browse files
committed
fixup! msvc: support building Git using MS Visual C++
The `SET p=...` inside a `FOR` loop does not actually seem to work... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent dc2ae9a commit 0b45281

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compat/vcbuild/vcpkg_install.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ REM ================================================================
5353
echo Installing third-party libraries...
5454
FOR %%i IN (zlib expat libiconv openssl libssh2 curl) DO (
5555
cd %cwd%vcpkg
56-
SET p="packages\%%i_%arch%"
57-
IF NOT EXIST "%p%" CALL :sub__install_one %%i
56+
IF NOT EXIST "packages\%%i_%arch%" CALL :sub__install_one %%i
5857
IF ERRORLEVEL 1 ( EXIT /B 1 )
5958
)
6059

0 commit comments

Comments
 (0)