gcl 402 Bytes
Newer Older
1
#!/usr/bin/env bash
2 3 4
# 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.
5 6 7

base_dir=$(dirname "$0")

8
# Use the batch file as an entry point if on cygwin.
9
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" != "xterm" ]; then
10
   ${base_dir}/gcl.bat "$@"
11 12 13
   exit
fi

14
exec python "$base_dir/gcl.py" "$@"