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

Unified Diff: git_cache.py

Issue 232093002: Fix to path search redux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cache.py
diff --git a/git_cache.py b/git_cache.py
index 66f5f8660d2fcb1ab884b4d903f0c4919ad29317..88c55e611dbb9f2fbd5d997a649f76edde7facd8 100755
--- a/git_cache.py
+++ b/git_cache.py
@@ -158,7 +158,7 @@ class Mirror(object):
if sys.platform.startswith('win'):
for suffix in ('.bat', '.cmd', '.exe'):
alt_target = target + suffix
- if os.path.isfile(alt_target) and os.access(target, os.X_OK):
+ if os.path.isfile(alt_target) and os.access(alt_target, os.X_OK):
return alt_target
return None
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698