Changeset 1091


Ignore:
Timestamp:
Jul 21, 2008, 6:26:37 AM (17 years ago)
Author:
John Small
Message:

Ticket 114: Added code to set an initial value for the new user-definable
string of environment variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cfgmgr.cmd

    r622 r1091  
    4848if cfg.userabort = 1 then
    4949   signal NormalExit
     50
     51if cfg.operation = 'INSTALL' then
     52   call UpdateFM2Ini
    5053
    5154cfg.action_taken = 0
     
    532535return retval
    533536
     537UpdateFM2Ini: procedure expose (globals)
     538   parse source . . thispgm
     539   thisdir = left(thispgm, lastpos('\', thispgm))
     540   inifile = thisdir || 'fm3.ini'
     541   EnvVarList = strip(SysIni(inifile, 'FM/3', 'TreeEnvVarList'))
     542   if EnvVarList = '' | EnvVarList = 'ERROR:' then
     543      call SysIni inifile, 'FM/3', 'TreeEnvVarList', 'PATH;DPATH;LIBPATH;HELP;BOOKSHELF;LIB;INCLUDE;LOCPATH;SMINCLUDE;LPATH;CODELPATH'
     544return
     545
Note: See TracChangeset for help on using the changeset viewer.