diff options
author | Adam Mitz <mitza-oci@users.noreply.github.com> | 2010-08-26 15:06:15 +0000 |
---|---|---|
committer | Adam Mitz <mitza-oci@users.noreply.github.com> | 2010-08-26 15:06:15 +0000 |
commit | 6fd0483cd075ba7b5388f7ee1f64ea5c2a6e4e42 (patch) | |
tree | 1b902bc7ab56aaed995c63495e7b631a28ed4c98 /modules/ProjectCreator.pm | |
parent | 465a8f68b354d945452b030ffd678a5088babb5e (diff) | |
download | MPC-6fd0483cd075ba7b5388f7ee1f64ea5c2a6e4e42.tar.gz |
ChangeLogTag: Thu Aug 26 15:04:04 UTC 2010 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'modules/ProjectCreator.pm')
-rw-r--r-- | modules/ProjectCreator.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm index a17fdcfb..c7e28ea6 100644 --- a/modules/ProjectCreator.pm +++ b/modules/ProjectCreator.pm @@ -4523,7 +4523,8 @@ sub write_output_file { ($status, $error) = $tp->parse_file($tfile); last if (!$status); - if (defined $self->{'source_callback'}) { + if (defined $self->{'source_callback'} && + $self->file_visible($self->{'current_template'})) { my $cb = $self->{'source_callback'}; my $pjname = $self->get_assignment('project_name'); my @list = $self->get_component_list('source_files'); |