IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2009, 3:37:56 PM (17 years ago)
Author:
Paul Price
Message:

Make temporary directory a command-line option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackSetup.c

    r26076 r26078  
    4747
    4848    // Generate temporary names for convolved images
    49     const char *tempDir = psMetadataLookupStr(NULL, config->site, "TEMP.DIR"); // Directory for temp images
     49    const char *tempDir = psMetadataLookupStr(NULL, config->arguments, "-temp-dir"); // Directory for temps
     50    if (!tempDir) {
     51        tempDir = psMetadataLookupStr(NULL, config->site, "TEMP.DIR");
     52    }
    5053    if (!tempDir) {
    5154        psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Unable to find TEMP.DIR in site configuration");
Note: See TracChangeset for help on using the changeset viewer.