From 3bc36d136cddc699bec9edfe75d4174f459efc67 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Thu, 14 Apr 2011 22:02:08 +0000 Subject: [PATCH] Remove remaining cygwin check in wrapper scripts. Looks like we had forgot gcl. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6838028 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@81654 0039d316-1c4b-4281-b951-d872f2087c98 --- gcl | 6 ------ update_depot_tools | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/gcl b/gcl index 5c1dcb42c..c0cface83 100755 --- a/gcl +++ b/gcl @@ -5,10 +5,4 @@ base_dir=$(dirname "$0") -# Use the batch file as an entry point if on cygwin. -if [ "${OSTYPE}" = "cygwin" -a "${TERM}" != "xterm" ]; then - ${base_dir}/gcl.bat "$@" - exit -fi - exec python "$base_dir/gcl.py" "$@" diff --git a/update_depot_tools b/update_depot_tools index a466d3aab..85d06b625 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -47,7 +47,7 @@ get_svn_revision() { echo `svn info "$base_dir" | awk '{ if ($1 == "Revision:") { print $2 }}'` } -# Update git checkouts prior the cygwin check, we don't want to use msysgit. +# Update git checkouts. if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/.git" ] then cd $base_dir