Skip to content

Commit

Permalink
Merge pull request #193 from ejucovy/develop
Browse files Browse the repository at this point in the history
Give precedence to --extra-search-dir paths when finding distribute/setuptools
  • Loading branch information
Carl Meyer committed Nov 30, 2011
2 parents bfcd4ca + 39b98cd commit f95e30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualenv.py
Expand Up @@ -469,7 +469,7 @@ def make_exe(fn):
logger.info('Changed mode of %s to %s', fn, oct(newmode))

def _find_file(filename, dirs):
for dir in dirs:
for dir in reversed(dirs):
if os.path.exists(join(dir, filename)):
return join(dir, filename)
return filename
Expand Down

0 comments on commit f95e30b

Please sign in to comment.