Commits

Doug Hellmann committed 9cc29ed

bug fix from John Shimek

--HG--
extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401756

  • Participants
  • Parent commits 01146a7
  • Tags 1.3.1, 1.3.2 4
    1. 1.4
    2. 1.5
    3. 1.6
    4. 1.6.1

Comments (0)

Files changed (1)

virtualenvwrapper_bashrc

 function rmvirtualenv () {
     typeset env_name="$1"
     verify_workon_home
+    if ["$env_name" == "" ]
+    then
+        echo "Please specifiy an enviroment."
+        return 1
+    fi
     env_dir="$WORKON_HOME/$env_name"
     if [ "$VIRTUAL_ENV" == "$env_dir" ]
     then