Doug Hellmann  committed 201ed58

use single quotes around regex with $ (see #55)

  • Participants
  • Parent commits f9d9fe2
  • Branches master

Comments (0)

Files changed (1)


     # path might contain stuff to expand.
     # (it might be possible to do this in shell, but I don't know a
     # cross-shell-safe way of doing it -wolever)
-    if echo "$workon_home_dir" | (unset GREP_OPTIONS; \egrep -e "([\$~]|//)" >/dev/null)
+    if echo "$workon_home_dir" | (unset GREP_OPTIONS; \egrep -e '([\$~]|//)' >/dev/null)
         # This will normalize the path by:
         # - Removing extra slashes (e.g., when TMPDIR ends in a slash)