Commits

Anonymous committed dd0a6f2

hr68: #161650#: cws fetch: fetch common solvers before platform solvers

Comments (0)

Files changed (1)

solenv/bin/cws.pl

                     $nonproduct = 1;
                 }
             }
-            push(@platforms, 'common.pro') if ($product && !$added_product);
-            push(@platforms, 'common') if ($nonproduct && !$added_nonproduct);
+            unshift(@platforms, 'common.pro') if ($product && !$added_product);
+            unshift(@platforms, 'common') if ($nonproduct && !$added_nonproduct);
         }
 
         foreach(@platforms) {