Fix: shellquote src path

This commit is contained in:
Brad Brown
2018-02-12 16:26:16 -06:00
parent d6d02351cb
commit d2f331e08e
+2 -2
View File
@@ -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)
)
)
)