i-hate-bat-files-20031203
authorJeffrey Altman <jaltman@grand.central.org>
Wed, 3 Dec 2003 19:24:38 +0000 (19:24 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 3 Dec 2003 19:24:38 +0000 (19:24 +0000)
Add missing % at end of variable names to be compatible with cmd.exe

src/ntbuild.bat

index 4da0886..87e9a7f 100755 (executable)
@@ -98,14 +98,14 @@ REM Location of netmpr.h/netspi.h (from Windows 95/98 DDK - 8.3 short name)
 SET W9XDDKDIR=c:\progra~1\micros~6
 
 set AFSDEV_INCLUDE=%MSSDKDIR%\include;%MSVCDIR%\include
-IF "%AFSVER_CL" GE "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atlmfc\include
-IF "%AFSVER_CL" LT "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atl\include;%MSVCDIR%\mfc\include
+IF "%AFSVER_CL%" == "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atlmfc\include
+IF NOT "%AFSVER_CL%" == "1310" set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atl\include;%MSVCDIR%\mfc\include
 set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%NTDDKDIR%\include;%W9XDDKDIR%\include
 
 set AFSDEV_LIB=%MSSDKDIR%\lib;%MSVCDIR%\lib
-IF "%AFSVER_CL" GE "1310"
+IF "%AFSVER_CL%" == "1310"
 set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\atlmfc\lib
-IF "%AFSVER_CL" LT "1310"
+IF NOT "%AFSVER_CL%" == "1310"
 set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\mfc\lib
 
 set AFSDEV_BIN=%MSSDKDIR%\bin;%MSVCDIR%\bin