diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2008-07-18 19:10:33 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2008-07-18 19:10:33 +0000 |
commit | f9027512b0938239af88775aab2a76bce0a967bc (patch) | |
tree | e5008a512d7250701539af33b6339078ce378929 /modules/WorkspaceCreator.pm | |
parent | 0ef1843e8800c3a4bbd878585cef95dc45d3c652 (diff) | |
download | MPC-f9027512b0938239af88775aab2a76bce0a967bc.tar.gz |
ChangeLogTag: Fri Jul 18 19:09:10 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/WorkspaceCreator.pm')
-rw-r--r-- | modules/WorkspaceCreator.pm | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm index 5388fba2..93be52a5 100644 --- a/modules/WorkspaceCreator.pm +++ b/modules/WorkspaceCreator.pm @@ -787,11 +787,9 @@ sub generate_default_components { } } - ## If the workspace is set to implicit - if ($impl) { - ## Remove duplicates from this list - $self->remove_duplicate_projects(\@built); - } + ## If the workspace is set to implicit remove duplicates from this + ## list. + $self->remove_duplicate_projects(\@built) if ($impl); ## Set the project files $self->{'project_files'} = \@built; @@ -801,11 +799,9 @@ sub generate_default_components { ## and in the subdirectories. $excluded |= $self->search_for_files($files, $pjf, $impl); - ## If the workspace is set to implicit - if ($impl) { - ## Remove duplicates from this list - $self->remove_duplicate_projects($pjf); - } + ## If the workspace is set to implicit remove duplicates from this + ## list. + $self->remove_duplicate_projects($pjf) if ($impl); ## If no files were found, then we push the empty ## string, so the Project Creator will generate |