summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-09-10 15:21:52 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-09-10 15:21:52 +0000
commitbc9f4c10bbe37181cfccb8cc0cd25dc3b2823bf1 (patch)
tree9a6fca9d5707ca700dd8f1241358f04c82ef77d9
parentc6b8e4df9086f92c845a2ad98f923b65add62b0c (diff)
downloadMPC-bc9f4c10bbe37181cfccb8cc0cd25dc3b2823bf1.tar.gz
ChangeLogTag: Wed Sep 10 10:21:16 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 d4c62c6a..57ef2cb0 100644
--- a/modules/WorkspaceCreator.pm
+++ b/modules/WorkspaceCreator.pm
@@ -984,8 +984,8 @@ sub sort_dependencies {
## See if the dependency is listed after this project
for(my $j = $i; $j <= $#list; ++$j) {
if ($i != $j && $list[$j] eq $full &&
- $list[$i] ne $moved_project &&
- $list[$j] ne $start_project) {
+ ($list[$i] ne $moved_project ||
+ $list[$j] ne $start_project)) {
## Keep track of the one we started with and the
## one we are going to move. If there is a circular
## dependency, the next time through we will catch it.