IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10441 for trunk/ppMerge


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

updated to new pmConfigRead

Location:
trunk/ppMerge/src
Files:
2 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
Note: See TracChangeset for help on using the changeset viewer.