Fix mistake in variable name in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b56f7e9e94
commit
232f325351
@ -340,13 +340,13 @@ sub mkinstall
|
||||
|
||||
#Call the Template class to do substitution to produce an unattend.xml file in the autoinst dir
|
||||
my $tmperr;
|
||||
unless (-r "$installdir/utils/windows/fixupunattend.vbs" and stat("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs")->mtime < stat("$installdir/utils/windows/fixupunattend.vbs")) {
|
||||
mkpath("$installdir/utils/windows/");
|
||||
copy("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs","$installdir/utils/windows/fixupunattend.vbs");
|
||||
unless (-r "$installroot/utils/windows/fixupunattend.vbs" and stat("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs")->mtime < stat("$installroot/utils/windows/fixupunattend.vbs")) {
|
||||
mkpath("$installroot/utils/windows/");
|
||||
copy("$::XCATROOT/share/xcat/netboot/windows/fixupunattend.vbs","$installroot/utils/windows/fixupunattend.vbs");
|
||||
}
|
||||
unless (-r "$installdir/utils/windows/detectefi.exe" and stat("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe")->mtime < stat("$installdir/utils/windows/detectefi.exe")) {
|
||||
mkpath("$installdir/utils/windows/");
|
||||
copy("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe","$installdir/utils/windows/detectefi.exe");
|
||||
unless (-r "$installroot/utils/windows/detectefi.exe" and stat("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe")->mtime < stat("$installroot/utils/windows/detectefi.exe")) {
|
||||
mkpath("$installroot/utils/windows/");
|
||||
copy("$::XCATROOT/share/xcat/netboot/windows/detectefi.exe","$installroot/utils/windows/detectefi.exe");
|
||||
}
|
||||
if (-r "$tmplfile")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user