diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-06-05 16:08:03 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-06-05 16:08:03 +0000 |
commit | ef767459febee9c8ead03c3594d4437a48699a5f (patch) | |
tree | 788cb042ce9309e00e904d049fd9a270922dbbab | |
parent | aa82c4969fa49a3a03ca1c874e7cb01d91f26460 (diff) | |
download | MPC-ef767459febee9c8ead03c3594d4437a48699a5f.tar.gz |
ChangeLogTag: Thu Jun 5 11:07:04 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | modules/WorkspaceCreator.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm index f5f84f55..d47cb93b 100644 --- a/modules/WorkspaceCreator.pm +++ b/modules/WorkspaceCreator.pm @@ -759,7 +759,7 @@ sub sort_dependencies { if ($project ne $full) { ## See if the dependency is listed after this project for(my $j = $i; $j <= $#list; $j++) { - if ($list[$j] eq $full) { + if ($list[$j] eq $full && $i != $j) { ## If so, move it in front of the current project splice(@list, $i, 0, $full); splice(@list, $j + 1, 1); |