IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2006, 3:05:04 PM (20 years ago)
Author:
Paul Price
Message:

Updating to use psModules head --- pmConfigRead changed, and pmConfigDB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxadminConfig.c

    r6978 r7027  
    1212    }
    1313
    14     if (! pmConfigRead(&config->site, &config->camera, &config->recipe, &argc, argv, RECIPE)) {
     14    config->modules = pmConfigRead(&argc, argv);
     15
     16    if (! config->modules) {
    1517        psErrorStackPrint(stderr, "Can't find site configuration!\n");
    1618        exit(EXIT_FAILURE);
     
    4446    }
    4547
    46     // paul's argument parsing convention requires: -key value 
     48    // paul's argument parsing convention requires: -key value
    4749    psMetadataAddStr(arguments, PS_LIST_TAIL, "-create", 0,
    4850            "create the P2 tables", "");
     
    7577
    7678    // define Database handle, if used
    77     config->dbh = pmConfigDB(config->site);
     79    config->dbh = pmConfigDB(config->modules);
    7880    return config;
    79 } 
     81}
    8082
    8183/*
Note: See TracChangeset for help on using the changeset viewer.