Logo
Explore Help
Register Sign In
aiden
/
depot_tools
mirror of https://chromium.googlesource.com/chromium/tools/depot_tools
1
0
Fork
You've already forked depot_tools
0
Code Issues Packages Projects Releases Wiki Activity
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
main
chrome/4147
chrome/3987
chrome/3865
chrome/3904
infra/config
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from '70405c2f9f'
${ noResults }
depot_tools/python-bin/python3

8 lines
231 B
Plaintext
Raw Normal View History Unescape Escape

depot_tools: Don't add a python3 shim to depot_tools on bootstrap. pythond and python3 are still downloaded from cipd, but python3 is no longer shim'd into depot_tools on Linux, so is not available on PATH. Modify PATH in vpython and vpython3 on Linux to point to the python3 download directory, so that the version downloaded from cipd is used. Bug: 1017812 Change-Id: I70bc8e7d460f60dcbfa5e141127edecfc2b44744 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1893982 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Anthony Polito <apolito@google.com> Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
6 years ago
#!/usr/bin/env bash
DEPOT_TOOLS=$(dirname "$0")/..
PYTHON3_BIN_DIR="$DEPOT_TOOLS/$(cat $DEPOT_TOOLS/python3_bin_reldir.txt | xargs echo)"
PATH="$PYTHON3_BIN_DIR":"$PYTHON3_BIN_DIR/Scripts":"$PATH"
"$PYTHON3_BIN_DIR/python3" "$@"
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
API