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

Appearance settings

Commit afcf059

Browse filesBrowse files
vsemozhetbytBethGriggs
authored andcommitted
build: do not cd on vcbuild help
`vcbuild help` just outputs help info and exits. If a user calls this command not from a project root, the directory change can be unexpected and unwanted. PR-URL: #19291 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9446bb6 commit afcf059
Copy full SHA for afcf059

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎vcbuild.bat‎

Copy file name to clipboardExpand all lines: vcbuild.bat
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
@echo off
22

3-
cd %~dp0
4-
53
if /i "%1"=="help" goto help
64
if /i "%1"=="--help" goto help
75
if /i "%1"=="-help" goto help
@@ -11,6 +9,8 @@ if /i "%1"=="-?" goto help
119
if /i "%1"=="--?" goto help
1210
if /i "%1"=="/?" goto help
1311

12+
cd %~dp0
13+
1414
@rem Process arguments.
1515
set config=Release
1616
set target=Build

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.