Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: gcl

Issue 125249: It seems it helps on certain cygwin setup. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gclient » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl
diff --git a/gcl b/gcl
index 70b528bc64d58b9cd888fe332b6a18b05f789938..a500c622eff233b634c6753f66746e3f6dd8c662 100755
--- a/gcl
+++ b/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
« no previous file with comments | « no previous file | gclient » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698