# HG changeset patch # User Heiko Schlittermann # Date 1451915599 -3600 # Node ID 33ff1832a0962ac08606e0ab3d4b8e4cd9963aa7 # Parent cc818568a7ec3659e471303a9cdb0d681de823c4 Cleanup template paths diff -r cc818568a7ec -r 33ff1832a096 bin/once --- a/bin/once Thu Dec 31 19:01:39 2015 +0100 +++ b/bin/once Mon Jan 04 14:53:19 2016 +0100 @@ -69,9 +69,9 @@ my %TT_CONFIG = ( INCLUDE_PATH => - [ (map { catfile($Bin, $_) } qw(templates templates.default templates.var) ), + [ (map { catfile($Bin, $_) } qw(templates templates.default) ), #(map { catfile(dist_dir($DIST), $_) } qw(var templates.override templates)), - (map { catfile($RealBin, $_) } qw(templates.var templates)), + (map { catfile($RealBin, $_) } qw(templates)), ] ); @@ -222,7 +222,7 @@ } } - $tt->process('inventory.html', \%tt) or die sprintf "template: %s\nINCLUDE_PATH\n%s\n", + $tt->process('inventory.html', \%tt) or die sprintf "template: %s\nINCLUDE_PATH:\n%s\n", $tt->error(), join "\n", @{$TT_CONFIG{INCLUDE_PATH}}; return 0;