changeset 105:6463a7e37c45

account for trailing slash
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 26 Nov 2010 11:30:47 -0800
parents 93cc3245bf2b
children e83b7dd50461
files bin/venvit.sh
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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