Changeset 8744 for trunk/tools


Ignore:
Timestamp:
Jun 22, 2002, 5:46:59 PM (23 years ago)
Author:
bird
Message:

Changed '?' postfix to be and is configured query. While verify is '@' now.

File:
1 edited

Legend:

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

    r8743 r8744  
    1 /* $Id: buildenv.cmd,v 1.12 2002-06-21 15:02:51 bird Exp $
     1/* $Id: buildenv.cmd,v 1.13 2002-06-22 15:46:59 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    115115         */
    116116        ch = substr(sEnv.i, length(sEnv.i), 1);
    117         if (ch = '-' | ch = '+' | ch = '*' | ch = '!' | ch = '?') then
     117        if (ch = '-' | ch = '+' | ch = '*' | ch = '!' | ch = '?' | ch = '@') then
    118118            sEnv.i = substr(sEnv.i, 1, length(sEnv.i) - 1);
    119119        fRM = (ch = '-');
    120120        fCfg = (ch = '*');
    121121        fForcedCfg = (ch = '!');
    122         fVerify = (ch = '?')
     122        fVerify = (ch = '@')
     123        fQuery = (ch = '?')
    123124
    124125        /*
     
    236237                        else if (fVerify) then
    237238                            rc = CfgVerify(j, 0, 1);
     239                        else if (fQuery) then
     240                        do
     241                            /*rc = CfgVerify(j, 1, 1);*/
     242                            rc = 0;
     243                            if (\CfgIsConfigured(j)) then
     244                                return 3;
     245                        end
    238246                        else
    239247                            rc = CfgInstallUninstall(j, fRM);
     
    500508/**
    501509 * Verifies a configuration.
    502  * @returns Return code from the environment procedure.
     510 * @returns True if configured.
     511 *          False if not configured.
    503512 * @param   iTool   The tool index in aCfg.
    504513 * @param   fQuiet  If set we'll to a quiet verify.
Note: See TracChangeset for help on using the changeset viewer.