From: Graham Knop Date: Wed, 12 Oct 2016 20:21:34 +0000 (-0400) Subject: fix directory calculations without --git X-Git-Tag: v0.003000~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25bd077d9cc29ce93fc55dcf3156c53b858d5cd9;p=p5sagit%2FDistar.git fix directory calculations without --git --- diff --git a/helpers/bump-version b/helpers/bump-version index d9ae2ae..2a3241f 100755 --- a/helpers/bump-version +++ b/helpers/bump-version @@ -57,7 +57,7 @@ else { no_chdir => 1, wanted => sub { my $fn = File::Spec->abs2rel($_, '.'); - if (-d && $fn !~ /^$dir_match$/) { + if (-d && $fn !~ /^$dir_match/) { $File::Find::prune = 1; return; }