[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 <vadimsh@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
changes/66/495566/2
Robert Iannucci 8 years ago committed by Commit Bot
parent 2e664bfa92
commit a297b40f8a

@ -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" %*

Loading…
Cancel
Save