Skip to content

Commit

Permalink
Merge pull request #1204 from bradsbrown/Fix.src_quoting
Browse files Browse the repository at this point in the history
Fix: quote src for safer handling
  • Loading branch information
kennethreitz committed Dec 18, 2017
2 parents 3496a7a + fa61220 commit ac89256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,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(project.virtualenv_src_location)
else:
src = ''
else:
Expand Down

0 comments on commit ac89256

Please sign in to comment.