Skip to content

Commit e0aa88e

Browse files
authored
Merge pull request BOINC#6292 from BOINC/dpa_buda16
BUDA: treat variants as CPU (not plan class) if 'cpu' is in variant name
2 parents caed491 + 7d27aa0 commit e0aa88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/user/buda.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function create_templates($variant, $variant_desc, $dir) {
267267
foreach ($variant_desc->input_file_names as $fname) {
268268
$x .= file_ref_in($fname);
269269
}
270-
if ($variant == 'cpu') {
270+
if (strstr($variant, 'cpu')) {
271271
$x .= " <plan_class></plan_class>\n";
272272
} else {
273273
$x .= " <plan_class>$variant</plan_class>\n";

0 commit comments

Comments
 (0)