diff bin/venvit.sh @ 105:6463a7e37c45

account for trailing slash
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 26 Nov 2010 11:30:47 -0800
parents ac08d765aa32
children
line wrap: on
line diff
--- a/bin/venvit.sh	Tue Nov 02 16:41:27 2010 -0700
+++ b/bin/venvit.sh	Fri Nov 26 11:30:47 2010 -0800
@@ -14,6 +14,7 @@
 do
     NAME=${NAME%%$i*}
 done
+NAME=${NAME%%/} # remove trailing slash
 NAME=${NAME##*/}
 
 if svn info $1 2> /dev/null