Use .cfp files in build dependency checks

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/b54623b7
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/b54623b7
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/b54623b7

Branch: refs/heads/master
Commit: b54623b7c59cdde089f831914c4e169a37bb87a7
Parents: fd798e0
Author: Nick Wellnhofer <[email protected]>
Authored: Wed Oct 29 22:53:35 2014 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Wed Nov 5 16:55:22 2014 +0100

----------------------------------------------------------------------
 compiler/perl/lib/Clownfish/CFC/Perl/Build.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b54623b7/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm 
b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
index 9ec6676..b83ab58 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -186,7 +186,7 @@ sub _cfh_filepaths {
     my $source_dirs = $self->clownfish_params('source');
     for my $source_dir (@$source_dirs) {
         next unless -e $source_dir;
-        push @paths, @{ $self->rscan_dir( $source_dir, qr/\.cfh$/ ) };
+        push @paths, @{ $self->rscan_dir( $source_dir, qr/\.cf[hp]$/ ) };
     }
     return \@paths;
 }

Reply via email to