Skip to content

Commit 6359686

Browse files
committed
Make mkvirtualenv work with interpreters whose paths have spaces
1 parent 9f30ada commit 6359686

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
@@ -461,7 +461,7 @@ function mkvirtualenv {
461461
i=$(( $i + 1 ))
462462
done
463463

464-
if [ ! -z $interpreter ]
464+
if [ ! -z "$interpreter" ]
465465
then
466466
out_args=( "--python=$interpreter" ${out_args[@]} )
467467
fi;

0 commit comments

Comments
 (0)