From: Joey Hess Date: Thu, 18 Oct 2007 19:01:17 +0000 (-0400) Subject: * Fix a bug caused by a stupid typo. X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/8cfc9de1be353fe0ddf3f5dbd9d5b46f6d99abb1?hp=-c * Fix a bug caused by a stupid typo. --- 8cfc9de1be353fe0ddf3f5dbd9d5b46f6d99abb1 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]; } }