Commit a297b40f authored by Robert Iannucci's avatar Robert Iannucci Committed by Commit Bot

[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/495566Reviewed-by: 's avatarVadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
parent 2e664bfa
......@@ -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" %*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment