IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2009, 9:01:58 AM (17 years ago)
Author:
bills
Message:

fix bug where label for distRuns could be set incorrectly

File:
1 edited

Legend:

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

    r24731 r25031  
    384384        psStringAppend(&outroot, "%s/%s/%s", workdir, run_tag, stage);
    385385
    386         if (set_label == NULL) {
    387             set_label = target_label;
     386        psString new_label;
     387        if (set_label != NULL) {
     388            new_label = set_label;
     389        } else {
     390            new_label = target_label;
    388391        }
    389392        distRunRow *row = distRunRowAlloc(
     
    392395                stage,
    393396                stage_id,
    394                 set_label,
     397                new_label,
    395398                outroot,
    396399                clean,
Note: See TracChangeset for help on using the changeset viewer.