X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/7effaee66fb19a9fca46c0dca427e0ea2d5b1d90..72a0284da93c97d390bcc9a0b0b04d0c77f9f281:/mr diff --git a/mr b/mr index 9a8f750..c15b3a3 100755 --- a/mr +++ b/mr @@ -128,6 +128,7 @@ foreach my $topdir (sort keys %config) { my $dir=$topdir.$subdir; if (defined $directory && + $dir ne $directory && $dir !~ /^\Q$directory\E\//) { print "mr $action: $dir skipped per -d parameter ($directory)\n" if $verbose; push @skipped, $dir;