Преглед изворни кода

Merge pull request #945 from kwhatmough/next

Use proper Windows environment variable in install script.
Sean Paul Taylor пре 12 година
родитељ
комит
372666fa1e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      install.bat

+ 2 - 2
install.bat

@@ -76,8 +76,8 @@ cd %~dp0
 >> temp1.vbs ECHO End if
 >> temp1.vbs ECHO End if
 >> temp1.vbs ECHO Set objXMLHTTP = Nothing
 >> temp1.vbs ECHO Set objXMLHTTP = Nothing
 
 
-if not exist \Windows\Microsoft.NET\Framework\v2.0.50727\NUL goto USE_VBS_AS_FALLBACK
-\Windows\Microsoft.NET\Framework\v2.0.50727\csc temp.cs
+if not exist %windir%\Microsoft.NET\Framework\v2.0.50727\NUL goto USE_VBS_AS_FALLBACK
+%windir%\Microsoft.NET\Framework\v2.0.50727\csc temp.cs
 temp.exe
 temp.exe
 del temp.exe
 del temp.exe
 goto :EXTRACT
 goto :EXTRACT