From d1a026f7f722aa6223a256936420096eb221b2dd Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 24 Jan 2014 19:11:22 +0200 Subject: [PATCH] Fix template patches glob pattern --- lib/Gruntmaster/Page/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Page/Base.pm b/lib/Gruntmaster/Page/Base.pm index 7fa1497..b0b4c57 100644 --- a/lib/Gruntmaster/Page/Base.pm +++ b/lib/Gruntmaster/Page/Base.pm @@ -62,7 +62,7 @@ sub patch_templates { my $root = $ENV{GRUNTMASTER_TEMPLATE_ROOT} or return; my ($templates, $name) = @_; my %out = %$templates; - for (<$root/$name*>) { + for (<$root/$name.*>) { m/\.(.+)$/; $out{$1} = read_file $_ } -- 2.39.2