From 38b3d1c46ab69a8c123680975dc52f023500db03 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 20 May 2013 14:56:01 +0000 Subject: [PATCH] Fix error in vbscript git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs b/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs index 3080361e4..e3fdf572d 100644 --- a/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs +++ b/xCAT-server/share/xcat/netboot/windows/fixupunattend.vbs @@ -15,11 +15,11 @@ Do While Not netuse.StdOut.AtEndOfStream Loop instdrv = myshell.ExpandEnvironmentStrings ( "%INSTALLTO%" ) if InStr(instdrv,"%INSTALLTO%") Then - Set myenv=wshShell.Environment("User") + Set myenv=myshell.Environment("User") instdrv = myenv("INSTALLTO") End If if instdrv = "" Then - Set myenv=wshShell.Environment("System") + Set myenv=myshell.Environment("System") instdrv = myenv("INSTALLTO") End If if instdrv = "" Then