Skip to content

Commit 9cc29ed

Browse files
committed
bug fix from John Shimek
--HG-- extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401756
1 parent 01146a7 commit 9cc29ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

virtualenvwrapper_bashrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ function mkvirtualenv () {
6565
function rmvirtualenv () {
6666
typeset env_name="$1"
6767
verify_workon_home
68+
if ["$env_name" == "" ]
69+
then
70+
echo "Please specifiy an enviroment."
71+
return 1
72+
fi
6873
env_dir="$WORKON_HOME/$env_name"
6974
if [ "$VIRTUAL_ENV" == "$env_dir" ]
7075
then

0 commit comments

Comments
 (0)