mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[fetch] use py3 for fetch
Bug: 939847 Change-Id: I8c73328363a9ffe506db6ed4e46c72ccad238c3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1845499 Commit-Queue: Anthony Polito <apolito@google.com> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
62b68fec1b
commit
75c59424e3
6
fetch
6
fetch
@@ -9,4 +9,8 @@ base_dir=$(dirname "$0")
|
||||
# standalone, but allow other PATH manipulations to take priority.
|
||||
PATH=$PATH:$base_dir
|
||||
|
||||
PYTHONDONTWRITEBYTECODE=1 exec vpython "$base_dir/fetch.py" "$@"
|
||||
if [[ $GCLIENT_PY3 == 1 ]]; then
|
||||
PYTHONDONTWRITEBYTECODE=1 exec vpython3 "$base_dir/fetch.py" "$@"
|
||||
else
|
||||
PYTHONDONTWRITEBYTECODE=1 exec vpython "$base_dir/fetch.py" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user