Skip to content

Commit f325cc0

Browse files
rhelmotdhellmann
authored andcommitted
Merged in master (pull request #72)
Make mkvirtualenv work with interpreters whose paths have spaces Approved-by: Doug Hellmann
2 parents 168db18 + 6359686 commit f325cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function mkvirtualenv {
480480
i=$(( $i + 1 ))
481481
done
482482

483-
if [ ! -z $interpreter ]
483+
if [ ! -z "$interpreter" ]
484484
then
485485
out_args=( "--python=$interpreter" ${out_args[@]} )
486486
fi;

0 commit comments

Comments
 (0)