mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
goma_ctl.py recommends that folks run `pip install pywin32`, which will work up until python in depot_tools is updated, at which point it will break again. Running with vpython means that the vpython spec which ships with goma will correctly take effect. R=brucedawson@chromium.org, tikuta@chromium.org Bug: 1033106 Change-Id: Icafadf381df782ab30d6cc156419dd7ed424d2bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1962721 Auto-Submit: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
13 lines
363 B
Bash
Executable File
13 lines
363 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2019 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
source "$MYPATH/cipd_bin_setup.sh"
|
|
cipd_bin_setup &> /dev/null
|
|
|
|
PYTHONDONTWRITEBYTECODE=1 exec vpython "$MYPATH/.cipd_bin/goma_ctl.py" "$@"
|