Changeset 9904 for trunk/psModules/src/config/pmConfig.c
- Timestamp:
- Nov 7, 2006, 4:10:07 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r9894 r9904 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.5 2$ $Name: not supported by cvs2svn $7 * @date $Date: 2006-11-0 7 22:30:33$6 * @version $Revision: 1.53 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2006-11-08 02:10:07 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 41 41 psFree(config->arguments); 42 42 psFree(config->database); 43 psFree(config->workdir); 43 44 } 44 45 … … 59 60 config->argc = argc; 60 61 config->argv = argv; 62 config->workdir = NULL; 61 63 62 64 // the file structure is used to carry pmFPAfiles … … 381 383 } 382 384 385 // Get the working directory 386 config->workdir = psMemIncrRefCounter(psMetadataLookupStr(NULL, config->site, "WORKDIR")); 387 if (!config->workdir) { 388 psWarning("WORKDIR is not set in the site configuration\n"); 389 } else { 390 config->workdir = resolveEnvVar(config->workdir); 391 } 392 383 393 // define the config-file search path (configPath). Ensure that 384 394 // it contains the directory where we found the config file in
Note:
See TracChangeset
for help on using the changeset viewer.
