X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/da4251ccfad6a4ea83fcc21a70f7f7dd26e5fa55..8cfc9de1be353fe0ddf3f5dbd9d5b46f6d99abb1:/mr diff --git a/mr b/mr index 95a7fe8..e41264c 100755 --- a/mr +++ b/mr @@ -362,7 +362,7 @@ foreach my $topdir (sort keys %config) { my $d=$directory; $dir.="/" unless $dir=~/\/$/; $d.="/" unless $d=~/\/$/; - next if $dir ne $directory && $dir !~ /^\Q$directory\E/; + next if $dir ne $d && $dir !~ /^\Q$d\E/; push @repos, [$dir, $topdir, $subdir]; } }