Fix problem where SLES11 SP3 SDK disk 3 would overwrite disk 1

This commit is contained in:
Jarrod Johnson 2013-11-07 13:44:04 -05:00
parent edc62bb346
commit 71cd1093ea

View File

@ -1586,6 +1586,11 @@ sub copycd
unless ($distname) { $distname = "sles" . $subparts[0] };
}
if($prod =~ m/Software-Development-Kit/) {
if ($distname eq 'sles11.3') {
if ($discnumber == 1 and $totaldiscnumber == 1) { #disc 3, aka disc1 of 'debug'
$discnumber = 3;
}
}
$discnumber = 'sdk' . $discnumber;
}
# check media.1/products for text.