summaryrefslogtreecommitdiff
path: root/modules/ProjectCreator.pm
diff options
context:
space:
mode:
authorAdam Mitz <mitza-oci@users.noreply.github.com>2010-08-26 15:06:15 +0000
committerAdam Mitz <mitza-oci@users.noreply.github.com>2010-08-26 15:06:15 +0000
commit6fd0483cd075ba7b5388f7ee1f64ea5c2a6e4e42 (patch)
tree1b902bc7ab56aaed995c63495e7b631a28ed4c98 /modules/ProjectCreator.pm
parent465a8f68b354d945452b030ffd678a5088babb5e (diff)
downloadMPC-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.pm3
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');