Skip to content

Commit 201ed58

Browse files
committed
use single quotes around regex with $ (see #55)
1 parent f9d9fe2 commit 201ed58

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
@@ -71,7 +71,7 @@ virtualenvwrapper_derive_workon_home() {
7171
# path might contain stuff to expand.
7272
# (it might be possible to do this in shell, but I don't know a
7373
# cross-shell-safe way of doing it -wolever)
74-
if echo "$workon_home_dir" | (unset GREP_OPTIONS; \egrep -e "([\$~]|//)" >/dev/null)
74+
if echo "$workon_home_dir" | (unset GREP_OPTIONS; \egrep -e '([\$~]|//)' >/dev/null)
7575
then
7676
# This will normalize the path by:
7777
# - Removing extra slashes (e.g., when TMPDIR ends in a slash)

0 commit comments

Comments
 (0)