From 8cfc9de1be353fe0ddf3f5dbd9d5b46f6d99abb1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 18 Oct 2007 15:01:17 -0400 Subject: [PATCH] * Fix a bug caused by a stupid typo. --- debian/changelog | 3 ++- mr | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index bfac297..8fa6c09 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,9 @@ mr (0.4) UNRELEASED; urgency=low to stop mr. * Ensure parent dir exists prior to checkout. (madduck) * Output list of failed repos to stderr when -s is used. + * Fix a bug caused by a stupid typo. - -- Joey Hess Thu, 18 Oct 2007 14:56:58 -0400 + -- Joey Hess Thu, 18 Oct 2007 15:00:00 -0400 mr (0.3) unstable; urgency=low 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]; } } -- 2.39.5