It seems it helps on certain cygwin setup.

Ah cygwin...

Patch contributed by cmp@google.com

TBR=nsylvain
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125249

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18613 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
maruel@chromium.org 16 years ago
parent f7fb33eed4
commit 775a79c5f0

2
gcl

@ -6,7 +6,7 @@
base_dir=$(dirname "$0")
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" ]; then
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
${base_dir}/gcl.bat "$@"
exit
fi

@ -8,7 +8,7 @@
base_dir=$(dirname "$0")
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" ]; then
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
${base_dir}/gclient.bat "$@"
exit
fi

@ -1,5 +1,14 @@
#!/bin/sh
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
base_dir=$(dirname "$0")
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
${base_dir}/revert.bat "$@"
exit
fi
exec python "$base_dir/revert.py" "$@"

Loading…
Cancel
Save