X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/79563e4eab7e13b6f06ef0674d5923bbc4fcc9f8..8c7de1139db31314694cc5218a1cf93337f16ac2:/mr?ds=inline diff --git a/mr b/mr index b5d5c11..1a57570 100755 --- a/mr +++ b/mr @@ -791,7 +791,9 @@ sub repodir { my $repo=shift; my $topdir=$repo->{topdir}; my $subdir=$repo->{subdir}; - return abs_path(($subdir =~/^\//) ? $subdir : $topdir.$subdir); + my $ret=($subdir =~/^\//) ? $subdir : $topdir.$subdir; + $ret=~s/\/\.$//; + return $ret; } # figure out which repos to act on