Changeset 10439 for trunk/ppImage/src/ppImageArguments.c
- Timestamp:
- Dec 4, 2006, 11:51:33 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageArguments.c
r10209 r10439 34 34 35 35 // load the site-wide configuration information 36 pmConfig *config = pmConfigRead(&argc, argv );36 pmConfig *config = pmConfigRead(&argc, argv, RECIPE_NAME); 37 37 if (config == NULL) { 38 38 psErrorStackPrint(stderr, "Can't find site configuration!\n"); … … 40 40 } 41 41 42 // save the following additional recipe values based on command-line options 43 // these options override the PPIMAGE recipe values loaded from recipe files 44 psMetadata *options = pmConfigRecipeOptions (config, RECIPE_NAME); 45 42 46 // save these recipe options until we have loaded the options 43 psMetadata *options = psMetadataAlloc ();44 psMetadataAddPtr (config->arguments, PS_LIST_TAIL, "PPIMAGE.OPTIONS", PS_DATA_METADATA, "", options);47 // psMetadata *options = psMetadataAlloc (); 48 // psMetadataAddPtr (config->arguments, PS_LIST_TAIL, "PPIMAGE.OPTIONS", PS_DATA_METADATA, "", options); 45 49 46 50 if ((argnum = psArgumentGet(argc, argv, "-stat"))) {
Note:
See TracChangeset
for help on using the changeset viewer.
