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-d872f2087c98experimental/szager/collated-output
parent
f7fb33eed4
commit
775a79c5f0
@ -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…
Reference in New Issue