Commit 21914585 authored by sky@chromium.org's avatar sky@chromium.org

Gets gclient to work in emacs again.

Also fixes bug where gclient fails because options isn't defined.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19498 0039d316-1c4b-4281-b951-d872f2087c98
parent e49187c2
......@@ -6,7 +6,7 @@
base_dir=$(dirname "$0")
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" != "xterm" ]; then
${base_dir}/gcl.bat "$@"
exit
fi
......
......@@ -25,7 +25,7 @@ fi
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" != "xterm" ]; then
${base_dir}/gclient.bat "$@"
exit
fi
......
......@@ -6,7 +6,7 @@
base_dir=$(dirname "$0")
# Use the batch file as an entry point if on cygwin.
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
if [ "${OSTYPE}" = "cygwin" -a "${TERM}" != "xterm" ]; then
${base_dir}/revert.bat "$@"
exit
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment