mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
depot_tools: Use vpython to execute fetch.
Bug: 1002153 Change-Id: I11286bebc23bedada239d6ddb8ebb86207a41485 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1815707 Reviewed-by: Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
6
fetch
6
fetch
@@ -5,4 +5,8 @@
|
||||
|
||||
base_dir=$(dirname "$0")
|
||||
|
||||
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/fetch.py" "$@"
|
||||
# Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
||||
# standalone, but allow other PATH manipulations to take priority.
|
||||
PATH=$PATH:$base_dir
|
||||
|
||||
PYTHONDONTWRITEBYTECODE=1 exec vpython "$base_dir/fetch.py" "$@"
|
||||
|
||||
Reference in New Issue
Block a user