Recognize more variants of Windows 2012

Windows 2012 R2 and updates can take a number of forms, be more forgiving.
This commit is contained in:
jjohnson2 2015-02-05 13:37:21 -05:00
parent ef1556e494
commit 5d963f0fee

View File

@ -742,11 +742,9 @@ sub copycd
$darch = "x86_64";
} elsif (/BuildBranch=win7_rtm/){
$distname = "win7";
} elsif (/BuildBranch=winblue_rtm/){
} elsif (/BuildBranch=winblue_r/){
if (-r $mntpath . "/sources/background_svr.bmp") {
if (! -r $mntpath . "/sources/EI.CFG") {
$distname = "win2012r2";
}
$distname = "win2012r2";
}
} elsif (/BuildBranch=win8_rtm/){
if (-r $mntpath . "/sources/background_cli.bmp") {