Permalink
Browse files

Fix for appending / to end of URL

  • Loading branch information...
1 parent 09602c7 commit 1af9fbe86c297bb4b255a5f1b703769e1707b246 git committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mirror-svn-git
View
@@ -14,7 +14,7 @@ else
fi
#Make sure we have a trailing / on he URL
-[[ $svn_url != */ ]] && 1="$svn_url"/
+(echo "$svn_url" |grep '/$') >/dev/null || svn_url="${svn_url}/"
# Check if it looks like a standard repo
svn ls $svn_url > /dev/null 2>&1

0 comments on commit 1af9fbe

Please sign in to comment.