get_site_cfg
Purpose:
-
Get the @SITE_CONFIG entry in the cvs_specs file.
Enter:
-
get_site_cfg <filename>
Where:
-
filename
Specify the file name of the cvs specs file to read.
Example:
-
get_site_cfg cvs_specs_filename
Notes:
-
This process writes the site configuration that is found in the calling spec file to stdout. It would normally be used in a script file where the return value would be tested to determine what path should be taken in the script file.
A value of 0 displayed on stdout indicates the keyword was not present in file. A value of -1 displayed on stdout indicates errors reading the file. Any other value displayed on stdout is the value of the entry for @SITE_CONFIG.