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

Unified Diff: gclient

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 | « gcl ('k') | revert » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient
diff --git a/gclient b/gclient
index 95561fb58a2fe371e3f186fbb10b094abf6c6787..639ecfbbe97bf716d4efa0b23b531b2f0f22fbb9 100755
--- a/gclient
+++ b/gclient
@@ -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
« no previous file with comments | « gcl ('k') | revert » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698