Fix windows install problem where tmplfile was masked out in scope

This commit is contained in:
Jarrod Johnson 2014-04-04 23:27:36 -04:00
parent 3c7870afbc
commit d5cb13be6d

View File

@ -412,7 +412,7 @@ sub mkinstall
$custmplpath = "$installroot/custom/install/hyperv";
$tmplpath = "$::XCATROOT/share/xcat/install/hyperv";
}
my $tmplfile=xCAT::SvrUtils::get_tmpl_file_name($custmplpath, $profile, $os, $arch);
$tmplfile=xCAT::SvrUtils::get_tmpl_file_name($custmplpath, $profile, $os, $arch);
if (! $tmplfile) { $tmplfile=xCAT::SvrUtils::get_tmpl_file_name($tmplpath, $profile, $os, $arch); }
}