From 4e2e6d3a26241794408aafa1c0744dd53e62190e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 18 Sep 2017 14:05:06 -0400 Subject: [PATCH] use which -a on linux Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index e5084195..b84eaf35 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1172,7 +1172,7 @@ def which_pip(allow_global=False): def system_which(command, mult=False): """Emulates the system's which. Returns None is not found.""" - _which = 'which' if not os.name == 'nt' else 'where' + _which = 'which -a' if not os.name == 'nt' else 'where' c = delegator.run('{0} {1}'.format(_which, command)) try: