IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26494


Ignore:
Timestamp:
Dec 29, 2009, 11:07:56 AM (16 years ago)
Author:
bills
Message:

files given on command line take precedence over those in the
run metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageDefineFile.c

    r23366 r26494  
    1212
    1313    if (!file) {
    14         // look for the file on the RUN metadata
    15         file = pmFPAfileDefineFromRun(&status, NULL, config, filerule);
     14        // look for the file on the argument list
     15        file = pmFPAfileDefineFromArgs(&status, config, filerule, argname);
    1616        if (!status) {
    1717            psError(PS_ERR_UNKNOWN, false, "failed to load file definition");
     
    2020    }
    2121    if (!file) {
    22         // look for the file on the argument list
    23         file = pmFPAfileDefineFromArgs(&status, config, filerule, argname);
     22        // look for the file on the RUN metadata
     23        file = pmFPAfileDefineFromRun(&status, NULL, config, filerule);
    2424        if (!status) {
    2525            psError(PS_ERR_UNKNOWN, false, "failed to load file definition");
Note: See TracChangeset for help on using the changeset viewer.