From d2f331e08e05ec583204bd51fbffbe52651b3270 Mon Sep 17 00:00:00 2001 From: Brad Brown Date: Mon, 12 Feb 2018 16:26:16 -0600 Subject: [PATCH] Fix: shellquote src path --- pipenv/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index fa9bf1a1..9e17bdba 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1344,7 +1344,7 @@ def pip_install( # Don't specify a source directory when using --system. if not allow_global and ('PIP_SRC' not in os.environ): - src = '--src {0}'.format(project.virtualenv_src_location) + src = '--src {0}'.format(shellquote(project.virtualenv_src_location)) else: src = '' else: @@ -2304,4 +2304,4 @@ def do_update(ctx, install, dev=False, three=None, python=None, dry_run=False, b crayons.green(package_name), crayons.normal('Pipfile', bold=True) ) - ) \ No newline at end of file + )