diff --git a/git-svn-clone-externals b/git-svn-clone-externals index d6896f8..3b06017 100755 --- a/git-svn-clone-externals +++ b/git-svn-clone-externals @@ -97,11 +97,11 @@ function is_excluded() git svn show-externals|grep -vE '#|^$'| \ - sed 's/\(-r\)[ ]*\([0-9]\{1,\}\)/\1\2/'|while read -a words + sed 's/\(\S*\)\s*\(-r\)\s*\([0-9]\{1,\}\)/\1 \2\3/'|while read -a words do [ -z "${words[*]}" ] && continue - local_directory="$(echo ${words[0]}|sed 's,^/,,')" + local_directory="$(echo ${words[0]}${words[3]}|sed 's,^/,,')" revision="" remote_url="${words[1]}"