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

Unified Diff: git-cl

Issue 50143013: Reapply 231888 "Fixes for python 2.7.5 support." with fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 2 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 | « PRESUBMIT.py ('k') | git-try » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-cl
diff --git a/git-cl b/git-cl
index 0fc4354d57830f99f6b9e01cf7381d625ec26436..a1aef0d53b99dfdedfdc85f151f27a2184b85383 100755
--- a/git-cl
+++ b/git-cl
@@ -20,8 +20,8 @@ fi
# Uncomment this line if you never use gclient.
# "$base_dir"/update_depot_tools
-if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
- PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/python_bin/python.exe" "$base_dir"/git_cl.py "$@"
+if [ -e "$base_dir/python.bat" -a $MINGW = 0 ]; then
+ PYTHONDONTWRITEBYTECODE=1 cmd.exe //c $base_dir\\python.bat $base_dir\\git_cl.py $@
else
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_cl.py" "$@"
fi
« no previous file with comments | « PRESUBMIT.py ('k') | git-try » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698