Changeset 9112 for trunk/tools
- Timestamp:
- Aug 24, 2002, 6:37:22 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r9025 r9112 1 /* $Id: buildenv.cmd,v 1.1 5 2002-08-18 13:48:54bird Exp $1 /* $Id: buildenv.cmd,v 1.16 2002-08-24 04:37:22 bird Exp $ 2 2 * 3 3 * This is the master tools environment script. It contains environment … … 13 13 * those the original value, for example of no_NO, is not restored. 14 14 * - Same goes for some other stuff, we have no stack of previous values. 15 * 15 * 16 16 * Copyright (c) 1999-2002 knut st. osmundsen (bird@anduin.net) 17 17 * … … 19 19 * 20 20 */ 21 21 22 22 Address CMD '@echo off'; 23 23 … … 28 28 */ 29 29 sVersion = '1.0.2 [2002-08-18]'; 30 30 31 31 /* 32 32 * Create argument array with lowercase arguments. … … 44 44 * Syntax 45 45 */ 46 if (sEnv.0 = 0) then 46 if (sEnv.0 = 0) then 47 47 do 48 48 say 'BuildEnv v'||sVersion … … 59 59 say ' ~ Install tool in environment if it''s configured.' 60 60 say ' - Remove tool from environment.' 61 say ' õ Remove tool from environment if it''s configured.' 61 62 say ' * Configure tool if needed.' 62 63 say ' ! Forced tool configuretion.' … … 161 162 */ 162 163 ch = substr(sEnv.i, length(sEnv.i), 1); 163 if ( ch = '-' | ch = '+' | ch = '*' | ch = '!' | ch = '?' | ch = '@' | ch = '~') then164 if (pos(ch, '+~-õ*!?@') > 0) then 164 165 sEnv.i = substr(sEnv.i, 1, length(sEnv.i) - 1); 165 166 else 166 167 ch = '+'; 167 fRM = (ch = '-'); 168 fRM = (ch = '-' | ch = 'õ'); 169 fOptional = (ch = '~' | ch = 'õ') 168 170 fCfg = (ch = '*'); 169 171 fForcedCfg = (ch = '!'); 170 172 fVerify = (ch = '@') 171 173 fQuery = (ch = '?') 172 fOptional = (ch = '~')173 174 174 175 /* … … 338 339 NoValueHandler: 339 340 say 'NoValueHandler: line 'SIGL; 340 return ;341 return 0; 341 342 342 343 … … 2274 2275 return rc; 2275 2276 2276 2277 2277 2278 2278 2279 /* … … 2539 2540 rc = CheckCmdOutput('ipfc', 0, fQuiet, 'Version 4.00.007 Oct 02 2000'); 2540 2541 if (rc = 0) then 2541 rc = CheckCmdOutput('nmake ', 2, fQuiet, 'Version 4.00.000 Oct 20 2000');2542 if (rc = 0) then 2543 rc = CheckCmdOutput('nmake32 ', 0, fQuiet, 'Version 5.00.003 Oct 20 2000');2542 rc = CheckCmdOutput('nmake -?', 0, fQuiet, 'Version 4.00.000 Oct 20 2000'); 2543 if (rc = 0) then 2544 rc = CheckCmdOutput('nmake32 -?', 0, fQuiet, 'Version 5.00.003 Oct 20 2000'); 2544 2545 return rc; 2545 2546
Note:
See TracChangeset
for help on using the changeset viewer.