File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ virtualenvwrapper_derive_workon_home() {
80
80
81
81
# If the path is relative, prefix it with $HOME
82
82
# (note: for compatibility)
83
- if echo " $workon_home_dir " | (unset GREP_OPTIONS; \g rep -e ' ^[^/~]' > /dev/null)
83
+ if echo " $workon_home_dir " | (unset GREP_OPTIONS; \g rep ' ^[^/~]' > /dev/null)
84
84
then
85
85
workon_home_dir=" $HOME /$WORKON_HOME "
86
86
fi
@@ -89,7 +89,7 @@ virtualenvwrapper_derive_workon_home() {
89
89
# path might contain stuff to expand.
90
90
# (it might be possible to do this in shell, but I don't know a
91
91
# cross-shell-safe way of doing it -wolever)
92
- if echo " $workon_home_dir " | (unset GREP_OPTIONS; \e grep -e ' ([\$~]|//)' > /dev/null)
92
+ if echo " $workon_home_dir " | (unset GREP_OPTIONS; \e grep ' ([\$~]|//)' > /dev/null)
93
93
then
94
94
# This will normalize the path by:
95
95
# - Removing extra slashes (e.g., when TMPDIR ends in a slash)
@@ -571,7 +571,7 @@ cpvirtualenv() {
571
571
echo " Please specify target virtualenv"
572
572
return 1
573
573
fi
574
- if echo " $WORKON_HOME " | (unset GREP_OPTIONS; \g rep -e " /$" > /dev/null)
574
+ if echo " $WORKON_HOME " | (unset GREP_OPTIONS; \g rep " /$" > /dev/null)
575
575
then
576
576
typeset env_home=" $WORKON_HOME "
577
577
else
You can’t perform that action at this time.
0 commit comments