Skip to content

Commit

Permalink
Now can over-ride the output path.
Browse files Browse the repository at this point in the history
crank looks at the PERL101_OUT_PATH environment variable which can be
used to instruct it to output to somewhere else.
  • Loading branch information
shlomif committed Aug 13, 2009
1 parent e345005 commit 5f73bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crank
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use Template::Constants qw( :debug :chomp );


my %defaults = ( my %defaults = (
INCLUDE_PATH => [ qw( tt ) ], INCLUDE_PATH => [ qw( tt ) ],
OUTPUT_PATH => '/srv/p101/', OUTPUT_PATH => $ENV{'PERL101_OUT_PATH'} || '/srv/p101/',
DEBUG => DEBUG_UNDEF, DEBUG => DEBUG_UNDEF,
TRIM => CHOMP_ALL, TRIM => CHOMP_ALL,
PRE_CHOMP => 1, PRE_CHOMP => 1,
Expand Down

0 comments on commit 5f73bf4

Please sign in to comment.