From b671b22335520d730fda2e742da1b8f6a44b8ae2 Mon Sep 17 00:00:00 2001 From: "sgk@google.com" Date: Wed, 9 Sep 2009 17:35:36 +0000 Subject: [PATCH] Add setlocal so {cpplin,gcl}.bat don't repeatedly add \depot_tools to %PATH%. Review URL: http://codereview.chromium.org/201062 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@25751 0039d316-1c4b-4281-b951-d872f2087c98 --- cpplint.bat | 1 + gcl.bat | 1 + 2 files changed, 2 insertions(+) diff --git a/cpplint.bat b/cpplint.bat index 039b10dc0..ff3f84a0d 100644 --- a/cpplint.bat +++ b/cpplint.bat @@ -1,4 +1,5 @@ @echo off +setlocal :: This is required with cygwin only. PATH=%~dp0;%PATH% call python "%~dp0cpplint.py" %* diff --git a/gcl.bat b/gcl.bat index f67334951..2a866ce55 100755 --- a/gcl.bat +++ b/gcl.bat @@ -1,4 +1,5 @@ @echo off +setlocal :: This is required with cygwin only. PATH=%~dp0;%PATH% call python "%~dp0gcl.py" %*