projects
/
catagits/Catalyst-Devel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b6d8969
)
allow changing permissions to 0000
Alex J. G. BurzyĆski [Thu, 7 Apr 2011 16:02:44 +0000 (18:02 +0200)]
lib/Catalyst/Helper.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Helper.pm
b/lib/Catalyst/Helper.pm
index
f2e39c9
..
3fba277
100644
(file)
--- a/
lib/Catalyst/Helper.pm
+++ b/
lib/Catalyst/Helper.pm
@@
-325,7
+325,7
@@
sub render_file_contents {
|| Catalyst::Exception->throw(
message => qq/Couldn't process "$template", / . $t->error() );
my $file = $self->mk_file( $path, $output );
- chmod $perms, file($file) if $perms;
+ chmod $perms, file($file) if defined $perms;
}
sub _mk_information {