win-pvdrivers

changeset 240:d5adfce6f643

fixed version detection in install.bat - sometimes version is spelled with a capital and sometimes not
author James Harper <james.harper@bendigoit.com.au>
date Sun Mar 30 00:03:49 2008 +1100 (2008-03-30)
parents 84e75e748b5f
children dce3943a11ec
files common.inc target/install.bat
line diff
     1.1 --- a/common.inc	Sat Mar 29 23:57:19 2008 +1100
     1.2 +++ b/common.inc	Sun Mar 30 00:03:49 2008 +1100
     1.3 @@ -1,4 +1,4 @@
     1.4 -VERSION=0.8.7.0
     1.5 +VERSION=0.8.7.1
     1.6  TARGETPATH=..\Target\$(DDK_TARGET_OS)
     1.7  KMDF_VERSION=1
     1.8  !IF $(_NT_TOOLS_VERSION) > 0x700
     2.1 --- a/target/install.bat	Sat Mar 29 23:57:19 2008 +1100
     2.2 +++ b/target/install.bat	Sun Mar 30 00:03:49 2008 +1100
     2.3 @@ -1,15 +1,15 @@
     2.4  @ECHO OFF
     2.5  
     2.6 -ver | find "Version 5.00." > nul
     2.7 +ver | find /I "Version 5.00." > nul
     2.8  if %ERRORLEVEL% == 0 goto ver_2k
     2.9  
    2.10 -ver | find "Version 5.1." > nul
    2.11 +ver | find /I "Version 5.1." > nul
    2.12  if %ERRORLEVEL% == 0 goto ver_xp
    2.13  
    2.14 -ver | find "Version 5.2." > nul
    2.15 +ver | find /I "Version 5.2." > nul
    2.16  if %ERRORLEVEL% == 0 goto ver_2k3
    2.17  
    2.18 -ver | find "Version 6.0." > nul
    2.19 +ver | find /I "Version 6.0." > nul
    2.20  if %ERRORLEVEL% == 0 goto ver_2k8
    2.21  
    2.22  echo No automatic install available or machine not supported.