summaryrefslogtreecommitdiff
path: root/modules/CCWorkspaceCreator.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-01-24 19:09:12 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-01-24 19:09:12 +0000
commitcf859440fde48274769b275852fb62955039f5c9 (patch)
tree3c9379c9a90d6874842c5af96f38fd983772bdeb /modules/CCWorkspaceCreator.pm
parent3648076de637043a6d14d9fbe7ce92aed67dedcd (diff)
downloadMPC-cf859440fde48274769b275852fb62955039f5c9.tar.gz
ChangeLogTag: Wed Jan 24 19:04:58 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/CCWorkspaceCreator.pm')
-rw-r--r--modules/CCWorkspaceCreator.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/CCWorkspaceCreator.pm b/modules/CCWorkspaceCreator.pm
index 13a75ce3..18f47099 100644
--- a/modules/CCWorkspaceCreator.pm
+++ b/modules/CCWorkspaceCreator.pm
@@ -64,6 +64,7 @@ sub add_dependencies {
if (open($fh, "$outdir/$proj")) {
my($write) = 0;
my(@read) = ();
+ my($cwd) = $self->getcwd();
while(<$fh>) {
if (/MPC\s+ADD\s+DEPENDENCIES/) {
my(@projs) = ();
@@ -71,7 +72,7 @@ sub add_dependencies {
my($deps) = $self->get_validated_ordering($proj);
foreach my $dep (@$deps) {
my($relative) = $self->get_relative_dep_file($creator,
- "$outdir/$proj",
+ "$cwd/$proj",
$dep);
if (defined $relative) {
if (!$write) {