Skip to content

Commit

Permalink
build.cmd: Avoid confusing the cmd argument parser with too many quotes
Browse files Browse the repository at this point in the history
Fixes #17831
  • Loading branch information
bricelam committed Sep 16, 2019
1 parent 130fe39 commit 31d239d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.cmd
@@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore -build %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& '%~dp0eng\common\Build.ps1' -restore -build %*"
exit /b %ErrorLevel%
2 changes: 1 addition & 1 deletion restore.cmd
@@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& '%~dp0eng\common\Build.ps1' -restore %*"
exit /b %ErrorLevel%
2 changes: 1 addition & 1 deletion test.cmd
@@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -test %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& '%~dp0eng\common\Build.ps1' -test %*"
exit /b %ErrorLevel%

0 comments on commit 31d239d

Please sign in to comment.