| 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
|
|
|
|
|