Fix template patches glob pattern
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 24 Jan 2014 17:11:22 +0000 (19:11 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 24 Jan 2014 17:11:22 +0000 (19:11 +0200)
lib/Gruntmaster/Page/Base.pm

index 7fa14970be31f20d32d6c0445e21edbfca22aa60..b0b4c57fbac3cd784fa6bc32690ff44867697567 100644 (file)
@@ -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 $_
        }
This page took 0.010964 seconds and 4 git commands to generate.