diff options
author | Ben Wagner <benjaminwagner@google.com> | 2018-06-19 10:34:32 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-19 17:29:15 +0000 |
commit | 96aa535b782f31df0f063213c2958acba32a808d (patch) | |
tree | b31c2ac0ba3c7e84f648fec46b4d2e29267b78d8 /infra/bots/gen_tasks.go | |
parent | ba61029c5b4939fc33a8cd5db3e7e19c6742cc4b (diff) |
Remove .bat and .exe from commands where possible.
We expect .BAT and .EXE to be on PATHEXT. Also, although Python
CreateProcess doesn't honor PATHEXT, it will try .EXE. This allows most
commands to be platform-independent, and also resolves the issue with
the cpython package not including python.bat.
No-Tree-Checks: true
Docs-Preview: https://skia.org/?cl=135626
Bug: chromium:852581
Change-Id: Iab4189407df44ff4ad4d37da07ff52414229d397
Reviewed-on: https://skia-review.googlesource.com/135626
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Auto-Submit: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r-- | infra/bots/gen_tasks.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go index 01098e2605..c9816c712e 100644 --- a/infra/bots/gen_tasks.go +++ b/infra/bots/gen_tasks.go @@ -196,9 +196,6 @@ var ( }, } - RECIPE_BUNDLE_UNIX = "recipe_bundle/recipes" - RECIPE_BUNDLE_WIN = "recipe_bundle/recipes.bat" - // Flags. builderNameSchemaFile = flag.String("builder_name_schema", "", "Path to the builder_name_schema.json file. If not specified, uses infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json from this repo.") assetsDir = flag.String("assets_dir", "", "Directory containing assets.") |