summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-09-11 11:41:31 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-09-11 11:41:31 +0000
commit3a11cdf62e69dd2e4c724f03a697d659a01a1911 (patch)
treedb86fb1f71d1cdbae85556ac9dbb0f9c60cb3d93
parent615124b1fb7a603c7c125933b94d45fe4a064e20 (diff)
downloadMPC-3a11cdf62e69dd2e4c724f03a697d659a01a1911.tar.gz
ChangeLogTag: Thu Sep 11 06:39:23 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/WorkspaceCreator.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm
index 57ef2cb0..afbe1578 100644
--- a/modules/WorkspaceCreator.pm
+++ b/modules/WorkspaceCreator.pm
@@ -884,7 +884,7 @@ sub add_implicit_project_dependencies {
my(%bidir) = ();
## Take the current working directory and regular expression'ize it.
- $cwd = $self->escape_regex_special($cwd) . '/';
+ $cwd = $self->escape_regex_special($cwd);
## Look at each projects file list and check it against all of the
## others. If any of the other projects file lists contains anothers
@@ -917,7 +917,7 @@ sub add_implicit_project_dependencies {
## Remove our starting directory from the projects directory
## to get the right part of the directory to prepend.
- $dir =~ s/^$cwd//;
+ $dir =~ s/^$cwd[\/\\]*//;
if ($dir ne '') {
$file = "$dir/$file";
}