Changeset 9024 for trunk/tools


Ignore:
Timestamp:
Aug 18, 2002, 3:29:20 PM (23 years ago)
Author:
bird
Message:

Help, removed extra allconfig case. Version numbering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/buildenv.cmd

    r8744 r9024  
    1 /* $Id: buildenv.cmd,v 1.13 2002-06-22 15:46:59 bird Exp $
     1/* $Id: buildenv.cmd,v 1.14 2002-08-18 13:29:20 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    1414 *     - Same goes for some other stuff, we have no stack of previous values.
    1515 */
    16 
     16   
    1717    Address CMD '@echo off';
    1818
    1919    signal on novalue name NoValueHandler
    2020
     21    /*
     22     * Version
     23     */
     24    sVersion = '1.0.1 [2002-08-18]';
     25   
    2126    /*
    2227     * Create argument array with lowercase arguments.
     
    3136    sEnv.0 = i - 1;
    3237
     38    /*
     39     * Syntax
     40     */
     41    if (sEnv.0 = 0) then
     42    do
     43        say 'BuildEnv v'||sVersion
     44        say '-------------------------------'
     45        say ''
     46        say 'Synopsis: Environment configuration utility written to maintain'
     47        say 'many different versions of compilers and toolkits on the same'
     48        say 'workstation. '
     49        say ''
     50        say 'Syntax: BuildEnv.cmd <environments>[action]'
     51        say ''
     52        say 'Actions:'
     53        say '   +   Install tools in environment. Default action.'
     54        say '   -   Remove tools from environment.'
     55        say '   *   Configure tool if needed.'
     56        say '   !   Forced tool configuretion.'
     57        say '   @   Verify tool configuration.'
     58        say '   ?   Query if a tool is configured.'
     59        say ''
     60        say 'Special environments (commands):'
     61        say '   allconfig       Configure all tools which fails verify.'
     62        say '   allreconfig     Reconfigure all tools.'
     63        say '   allverify       Verify all configured tools.'
     64        say '   alluninstall    Removed all configured tools from environment.'
     65        say '   showall         Show all tools.'
     66        say '   showconfigured  Show all configured tools.'
     67        say '   shownotconfigured   Show all tools which isn''t configured.'
     68        say ''
     69        say 'Copyright (c) 1999-2002 knut st. osmundsen'
     70        say 'Published under GPL v2'
     71        return 8;
     72    end
    3373
    3474    /*
     
    132172             * Multi tool operations.
    133173             */
    134             when (sEnv.i = 'allconfig') then do
    135                 do j = 1 to aCfg.0
    136                     rc = CfgConfigure(j, 0);
    137                     if (rc >= 8) then
    138                         exit(rc);
    139                 end
    140             end
    141 
    142174            when (sEnv.i = 'allconfig') then do
    143175                do j = 1 to aCfg.0
     
    22292261return rc;
    22302262
     2263 
    22312264
    22322265/*
Note: See TracChangeset for help on using the changeset viewer.