X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FBase.pm;h=b0b4c57fbac3cd784fa6bc32690ff44867697567;hb=d1a026f7f722aa6223a256936420096eb221b2dd;hp=7fa14970be31f20d32d6c0445e21edbfca22aa60;hpb=f7d696bce1290f0b40dc1ee43f404eff2f71404b;p=gruntmaster-page.git 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 $_ }