IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10441


Ignore:
Timestamp:
Dec 4, 2006, 11:55:52 AM (19 years ago)
Author:
eugene
Message:

updated to new pmConfigRead

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeConfig.c

    r9737 r10441  
    2525pmConfig *ppMergeConfig(int argc, char **argv)
    2626{
    27     pmConfig *config = pmConfigRead(&argc, argv);
     27    pmConfig *config = pmConfigRead(&argc, argv, PPMERGE_RECIPE);
    2828    // Load the site-wide configuration information
    2929    if (! config) {
  • trunk/ppMerge/src/ppMergeOptions.c

    r10270 r10441  
    118118    }
    119119
    120     // Get the recipes
    121     if (!config->recipes && !pmConfigReadRecipes(config)) {
    122         psError(PS_ERR_IO, false, "Unable to read recipes.\n");
    123         exit(EXIT_FAILURE);
    124     }
     120    // we must have the recipes by this point
     121    assert (config->recipes);
    125122
    126123    // Now we can read the recipe
  • trunk/ppNorm/src/ppNormCalc.c

    r9738 r10441  
    2323{
    2424    psLibInit(NULL);
    25     pmConfig *config = pmConfigRead(&argc, argv);
     25    pmConfig *config = pmConfigRead(&argc, argv, NULL);
    2626    psFree(config);
    2727
  • trunk/ppStats/src/ppStatsStandAlone.c

    r8864 r10441  
    2121
    2222    // Parse the configuration and arguments
    23     pmConfig *config = pmConfigRead(&argc, argv);
     23    pmConfig *config = pmConfigRead(&argc, argv, PPSTATS_RECIPE);
    2424
    2525    // Get the options, open the files
Note: See TracChangeset for help on using the changeset viewer.