X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/85ecfb40a19334d7ea53de8b982915eff3cae07d..8c7de1139db31314694cc5218a1cf93337f16ac2:/mr 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