Permalink
Browse files

Now can over-ride the output path.

crank looks at the PERL101_OUT_PATH environment variable which can be
used to instruct it to output to somewhere else.
  • Loading branch information...
1 parent e345005 commit 5f73bf4240d139d247ff21df1eea7991cd46cdb8 @shlomif committed Aug 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 crank
View
2 crank
@@ -12,7 +12,7 @@ use Template::Constants qw( :debug :chomp );
my %defaults = (
INCLUDE_PATH => [ qw( tt ) ],
- OUTPUT_PATH => '/srv/p101/',
+ OUTPUT_PATH => $ENV{'PERL101_OUT_PATH'} || '/srv/p101/',
DEBUG => DEBUG_UNDEF,
TRIM => CHOMP_ALL,
PRE_CHOMP => 1,

0 comments on commit 5f73bf4

Please sign in to comment.