diff --git a/apply_issue.bat b/apply_issue.bat index 7e052ee345..2a035062b3 100755 --- a/apply_issue.bat +++ b/apply_issue.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\apply_issue.py" %* diff --git a/cit.bat b/cit.bat index a1da0ddc31..8f79044aaf 100755 --- a/cit.bat +++ b/cit.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\cit.py" %* diff --git a/clang-format.bat b/clang-format.bat index af1c145793..884cd246a3 100644 --- a/clang-format.bat +++ b/clang-format.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\clang_format.py" %* diff --git a/clang_format_merge_driver.bat b/clang_format_merge_driver.bat index 848724959d..6f15dd749c 100755 --- a/clang_format_merge_driver.bat +++ b/clang_format_merge_driver.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\clang_format_merge_driver.py" %* diff --git a/commit_queue.bat b/commit_queue.bat index 5f6baa3798..c1babf04cf 100755 --- a/commit_queue.bat +++ b/commit_queue.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\commit_queue.py" %* diff --git a/cpplint.bat b/cpplint.bat index a64a9db723..914eecf1a7 100644 --- a/cpplint.bat +++ b/cpplint.bat @@ -1,5 +1,4 @@ @echo off setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% + call python "%~dp0cpplint.py" %* diff --git a/depot-tools-auth.bat b/depot-tools-auth.bat index fe13f9338b..4770ed6fb4 100644 --- a/depot-tools-auth.bat +++ b/depot-tools-auth.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\depot-tools-auth.py" %* diff --git a/download_from_google_storage.bat b/download_from_google_storage.bat index 5b4907a47d..4c7971b426 100755 --- a/download_from_google_storage.bat +++ b/download_from_google_storage.bat @@ -3,8 +3,5 @@ :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\download_from_google_storage.py" %* diff --git a/fetch.bat b/fetch.bat index b109623c05..d6ea944e26 100755 --- a/fetch.bat +++ b/fetch.bat @@ -4,9 +4,6 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Synchronize the root directory before deferring control back to gclient.py. call "%~dp0\update_depot_tools.bat" diff --git a/gclient.bat b/gclient.bat index 30a002628f..d66ce6a41a 100755 --- a/gclient.bat +++ b/gclient.bat @@ -4,9 +4,6 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Synchronize the root directory before deferring control back to gclient.py. call "%~dp0update_depot_tools.bat" %* diff --git a/gn.bat b/gn.bat index 250e4d9ac3..0a42a0766e 100644 --- a/gn.bat +++ b/gn.bat @@ -4,8 +4,5 @@ :: found in the LICENSE file. setlocal -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\gn.py" %* diff --git a/roll-dep-svn.bat b/roll-dep-svn.bat index 99bdd0debb..b2aec795e8 100755 --- a/roll-dep-svn.bat +++ b/roll-dep-svn.bat @@ -3,8 +3,5 @@ :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\roll_dep_svn.py" %* diff --git a/roll-dep.bat b/roll-dep.bat index d8b69c27c2..d5166dfa8b 100755 --- a/roll-dep.bat +++ b/roll-dep.bat @@ -3,8 +3,5 @@ :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. -:: This is required with cygwin only. -PATH=%~dp0;%PATH% - :: Defer control. %~dp0python "%~dp0\roll_dep.py" %*