IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2010, 6:12:10 PM (16 years ago)
Author:
Paul Price
Message:

Only resolve the filename if we need to. When the file doesn't exist, it doesn't resolve properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/diff_skycell.pl

    r26638 r26639  
    242242    $command .= " -stats $outputStats";
    243243    $command .= " -threads $threads" if defined $threads;
    244     my $configurationReal = $ipprc->file_resolve($configuration);
    245244    if ($run_state eq "new") {
    246         $command .= " -dumpconfig $configurationReal";
    247     } else {
     245        $command .= " -dumpconfig $configuration";
     246    } else {
     247        my $configurationReal = $ipprc->file_resolve($configuration) or &my_die("Couldn't resolve configuration file: $configuration", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR);
    248248        $command .= " -ipprc $configurationReal";
    249249    }
Note: See TracChangeset for help on using the changeset viewer.