Skip to content

Commit 6c6d3a4

Browse files
authored
Add missing backslashes in PCbuild bat files (GH-5056)
1 parent 0d3ccb4 commit 6c6d3a4

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

PCbuild/get_externals.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if "%DO_FETCH%"=="false" goto end
3939
:fetch
4040

4141
if "%ORG%"=="" (set ORG=python)
42-
call "%PCBUILD%find_python.bat" "%PYTHON%"
42+
call "%PCBUILD%\find_python.bat" "%PYTHON%"
4343

4444
if "%PYTHON%"=="" (
4545
where /Q git || echo Python 3.6 could not be found or installed, and git.exe is not on your PATH && exit /B 1
@@ -65,7 +65,7 @@ for %%e in (%libraries%) do (
6565
git clone --depth 1 https://github.com/%ORG%/cpython-source-deps --branch %%e "%EXTERNALS_DIR%\%%e"
6666
) else (
6767
echo.Fetching %%e...
68-
%PYTHON% "%PCBUILD%get_external.py" -O %ORG% %%e
68+
%PYTHON% "%PCBUILD%\get_external.py" -O %ORG% %%e
6969
)
7070
)
7171

@@ -84,7 +84,7 @@ for %%b in (%binaries%) do (
8484
git clone --depth 1 https://github.com/%ORG%/cpython-bin-deps --branch %%b "%EXTERNALS_DIR%\%%b"
8585
) else (
8686
echo.Fetching %%b...
87-
%PYTHON% "%PCBUILD%get_external.py" -b -O %ORG% %%b
87+
%PYTHON% "%PCBUILD%\get_external.py" -b -O %ORG% %%b
8888
)
8989
)
9090

PCbuild/prepare_ssl.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ goto Usage
4545
if not defined SRC (echo --in directory is required & exit /b 1)
4646
if not defined OUT (echo --out directory is required & exit /b 1)
4747

48-
call "%PCBUILD%find_msbuild.bat" %MSBUILD%
48+
call "%PCBUILD%\find_msbuild.bat" %MSBUILD%
4949
if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)
5050

51-
call "%PCBUILD%find_python.bat" "%PYTHON%"
51+
call "%PCBUILD%\find_python.bat" "%PYTHON%"
5252
if ERRORLEVEL 1 (echo Cannot locate python.exe on PATH or as PYTHON variable & exit /b 3)
5353

54-
call "%PCBUILD%get_externals.bat" --openssl-src %ORG_SETTING%
54+
call "%PCBUILD%\get_externals.bat" --openssl-src %ORG_SETTING%
5555

5656
if "%PERL%" == "" where perl > "%TEMP%\perl.loc" 2> nul && set /P PERL= <"%TEMP%\perl.loc" & del "%TEMP%\perl.loc"
5757
if "%PERL%" == "" (echo Cannot locate perl.exe on PATH or as PERL variable & exit /b 4)
5858

59-
%MSBUILD% "%PCBUILD%openssl.vcxproj" /p:Configuration=Release /p:Platform=Win32
59+
%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=Win32
6060
if errorlevel 1 exit /b
61-
%MSBUILD% "%PCBUILD%openssl.vcxproj" /p:Configuration=Release /p:Platform=x64
61+
%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=x64
6262
if errorlevel 1 exit /b
6363

PCbuild/prepare_tcltk.bat

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ echo Unrecognized option: %1
3838
goto Usage
3939

4040
:Build
41-
call "%PCBUILD%find_msbuild.bat" %MSBUILD%
41+
call "%PCBUILD%\find_msbuild.bat" %MSBUILD%
4242
if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)
4343

44-
rem call "%PCBUILD%find_python.bat" "%PYTHON%"
44+
rem call "%PCBUILD%\find_python.bat" "%PYTHON%"
4545
rem if ERRORLEVEL 1 (echo Cannot locate python.exe on PATH or as PYTHON variable & exit /b 3)
4646

47-
call "%PCBUILD%get_externals.bat" --tkinter-src %ORG_SETTING%
47+
call "%PCBUILD%\get_externals.bat" --tkinter-src %ORG_SETTING%
4848

49-
%MSBUILD% "%PCBUILD%tcl.vcxproj" /p:Configuration=Release /p:Platform=Win32
50-
%MSBUILD% "%PCBUILD%tk.vcxproj" /p:Configuration=Release /p:Platform=Win32
51-
%MSBUILD% "%PCBUILD%tix.vcxproj" /p:Configuration=Release /p:Platform=Win32
49+
%MSBUILD% "%PCBUILD%\tcl.vcxproj" /p:Configuration=Release /p:Platform=Win32
50+
%MSBUILD% "%PCBUILD%\tk.vcxproj" /p:Configuration=Release /p:Platform=Win32
51+
%MSBUILD% "%PCBUILD%\tix.vcxproj" /p:Configuration=Release /p:Platform=Win32
5252

53-
%MSBUILD% "%PCBUILD%tcl.vcxproj" /p:Configuration=Release /p:Platform=x64
54-
%MSBUILD% "%PCBUILD%tk.vcxproj" /p:Configuration=Release /p:Platform=x64
55-
%MSBUILD% "%PCBUILD%tix.vcxproj" /p:Configuration=Release /p:Platform=x64
53+
%MSBUILD% "%PCBUILD%\tcl.vcxproj" /p:Configuration=Release /p:Platform=x64
54+
%MSBUILD% "%PCBUILD%\tk.vcxproj" /p:Configuration=Release /p:Platform=x64
55+
%MSBUILD% "%PCBUILD%\tix.vcxproj" /p:Configuration=Release /p:Platform=x64

0 commit comments

Comments
 (0)