diff --git a/gclient b/gclient index 4da346d0e..4ff6b3cbd 100755 --- a/gclient +++ b/gclient @@ -19,12 +19,4 @@ if [[ "#grep#fetch#cleanup#diff#setdep#" != *"#$1#"* ]]; then esac fi -# 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 - -if [[ $GCLIENT_PY3 != 1 ]]; then - PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@" -else - PYTHONDONTWRITEBYTECODE=1 exec vpython3 "$base_dir/gclient.py" "$@" -fi +PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@" diff --git a/gclient.bat b/gclient.bat index bead0c698..5aaff866c 100755 --- a/gclient.bat +++ b/gclient.bat @@ -12,9 +12,4 @@ call "%~dp0update_depot_tools.bat" %* set PATH=%PATH%;%~dp0 :: Defer control. -IF "%GCLIENT_PY3%" == "1" ( - python "%~dp0gclient.py" %* -) ELSE ( - :: TODO(1003139): Use vpython3 once vpython3 works on Windows. - python3 "%~dp0gclient.py" %* -) +python "%~dp0gclient.py" %*