diff --git a/fetch b/fetch index 1b9709848..37e8e795d 100755 --- a/fetch +++ b/fetch @@ -9,12 +9,4 @@ if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then "$base_dir"/update_depot_tools fi -PYTHON=python - -OUTPUT="$(uname | grep 'CYGWIN')" -CYGWIN=$? -if [ $CYGWIN = 0 ]; then - PYTHON="$base_dir/python.bat" -fi - -PYTHONDONTWRITEBYTECODE=1 exec "$PYTHON" "$base_dir/fetch.py" "$@" +PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/fetch.py" "$@" diff --git a/gclient b/gclient index 5f8920bfc..7c57dfdea 100755 --- a/gclient +++ b/gclient @@ -9,12 +9,4 @@ if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then "$base_dir"/update_depot_tools fi -PYTHON=python - -OUTPUT="$(uname | grep 'CYGWIN')" -CYGWIN=$? -if [ $CYGWIN = 0 ]; then - PYTHON="$base_dir/python.bat" -fi - -PYTHONDONTWRITEBYTECODE=1 exec "$PYTHON" "$base_dir/gclient.py" "$@" +PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@" diff --git a/update_depot_tools b/update_depot_tools index f71e7f4fe..a146724ff 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -17,13 +17,6 @@ then base_dir=`cd "$base_dir" && pwd -P` fi -# Don't try to use Cygwin tools. Get real win32 tools using the batch script. -OUTPUT="$(uname | grep 'CYGWIN')" -CYGWIN=$? -if [ $CYGWIN = 0 ]; then - exec cmd /c "$base_dir/bootstrap/win/win_tools.bat" force -fi - # Test if this script is running under a MSys install. If it is, we will # hardcode the paths to SVN and Git where possible. OUTPUT="$(uname | grep 'MINGW')"