Skip to content

Commit

Permalink
Small change in the venv-create
Browse files Browse the repository at this point in the history
My PATH contained a location with a space character and that caused issues when
expandig the $PATH variable. Wrapping it in `"` solved that
  • Loading branch information
alexsapran committed Mar 4, 2019
1 parent 6c4164b commit 7e2ddfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ venv-create:
printf $(PYENV_ERROR); \
exit 1; \
fi;
@if [[ ! $(PATH) =~ $(PYENV_REGEX) ]]; then \
@if [[ ! "$(PATH)" =~ $(PYENV_REGEX) ]]; then \
printf $(PYENV_PATH_ERROR); \
exit 1; \
fi;
Expand Down

0 comments on commit 7e2ddfb

Please sign in to comment.