fix cipd_impl.ps1 failure when depot_tools path contains whitespaces
Bug: 428834916
Change-Id: I190c63ef6f9f9c1decab4a2f410aa18699e6f273
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6700873
Commit-Queue: Scott Lee <ddoman@chromium.org>
Reviewed-by: Gavin Mak <gavinmak@google.com>
diff --git a/cipd.bat b/cipd.bat
index ffdd432..c16b63a 100644
--- a/cipd.bat
+++ b/cipd.bat
@@ -77,7 +77,7 @@
:: in the file's properties dialog.
echo.>"%~dp0.cipd_impl.ps1:Zone.Identifier"
powershell -NoProfile -ExecutionPolicy RemoteSigned ^
- "%~dp0.cipd_impl.ps1" ^
+ -File "%~dp0.cipd_impl.ps1" ^
-CipdBinary "%CIPD_BINARY%" ^
-Platform "%CIPD_PLATFORM%" ^
-BackendURL "%CIPD_BACKEND%" ^