From a297b40f8ad5acb1832ea136440017cc84f8693e Mon Sep 17 00:00:00 2001 From: Robert Iannucci Date: Wed, 3 May 2017 16:02:48 -0700 Subject: [PATCH] [cipd.bat] Switch cipd.bat to use -Command. -File something.ps1 args is SUPPOSED to pass args (i.e. the rest of the command line) through to the script. It seems, however, that it's actually parsing the rest of the command line and throws up its hands at a parameter like '-'. -Command, however, seems to work. R=vadimsh@chromium.org Bug: Change-Id: I617bf43f5b27bd2d0246106ab10b28e0a2fdd901 Reviewed-on: https://chromium-review.googlesource.com/495566 Reviewed-by: Vadim Shtayura Commit-Queue: Robbie Iannucci --- cipd.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipd.bat b/cipd.bat index e5be7e99f9..53e60d1601 100644 --- a/cipd.bat +++ b/cipd.bat @@ -9,4 +9,4 @@ :: in the file's properties dialog. echo.>"%~dp0\cipd.ps1:Zone.Identifier" -powershell -NoProfile -ExecutionPolicy RemoteSigned -File "%~dp0\cipd.ps1" %* +powershell -NoProfile -ExecutionPolicy RemoteSigned -Command "%~dp0\cipd.ps1" %*