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

Unified Diff: git-try

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 | « git-cl ('k') | pylint » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
diff --git a/git-try b/git-try
index 166f66938d5362f4259ece78ba565b3eb980aa90..e2036de363d88018fd58960cb4e90e42ac446400 100755
--- a/git-try
+++ b/git-try
@@ -14,8 +14,8 @@ else
base_dir=$(dirname "$0")
fi
-if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
- PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/python_bin/python.exe" "$base_dir"/git_try.py "$@"
+if [ -e "$base_dir/python.bat" -a $MINGW = 0 ]; then
+ PYTHONDONTWRITEBYTECODE=1 cmd.exe //c $base_dir\\python.bat $base_dir\\git_try.py $@
else
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_try.py" "$@"
fi
« no previous file with comments | « git-cl ('k') | pylint » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698