summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm')
-rw-r--r--bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm
index 851239663ea..2a593b21681 100644
--- a/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm
+++ b/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm
@@ -25,7 +25,12 @@ use vars qw(@ISA);
sub workspace_file_name {
my($self) = shift;
- return $self->get_modified_workspace_name('Makefile', '.bor');
+ if ($self->make_coexistence()) {
+ return $self->get_modified_workspace_name('Makefile', '.bor');
+ }
+ else {
+ return $self->get_modified_workspace_name('Makefile', '');
+ }
}
@@ -63,7 +68,7 @@ sub write_project_targets {
my($crlf) = $self->crlf();
foreach my $project (@$list) {
- my($dir) = $self->mpc_dirname($project);
+ my($dir) = dirname($project);
my($chdir) = 0;
my($back) = '';