Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3168073

Browse files
committed
Allow clean.bat to be run from anywhere
This was omitted fromc3879a7 which modified the other msvc .batfiles.Per request from Juan José Santamaría FlechaDiscussion:https://postgr.es/m/CAC+AXB0_fxYGbQoaYjCA8um7TTbOVP4L9aXnVmHwK8WzaT4gdA@mail.gmail.comBackpatch to all live branches.
1 parent8e8e253 commit3168073

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/tools/msvc/clean.bat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ REM src/tools/msvc/clean.bat
44
setDIST=0
55
if"%1"=="dist"setDIST=1
66

7-
setD=%CD%
8-
ifexist ..\msvcifexist ..\..\..\srccd ..\..\..
7+
setlocal
8+
9+
cd"%~dp0\..\..\.."
910

1011
ifexist debugrd /s /q debug
1112
ifexist releaserd /s /q release
@@ -131,7 +132,7 @@ REM Clean up datafiles built with contrib
131132
REM cd contrib
132133
REM for /r %%f in (*.sql) do if exist %%f.in del %%f
133134

134-
cd%D%
135+
cd"%~dp0"
135136

136137
REM Clean up ecpg regression test files
137138
msbuild ecpg_regression.proj /NoLogo /v:q%MSBFLAGS% /t:clean

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp