IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 21, 2008, 5:25:10 PM (18 years ago)
Author:
Paul Price
Message:

Fixing syntax error.

File:
1 edited

Legend:

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

    r20101 r20316  
    219219
    220220    if ($do_stats) {
    221         my $outputStatsReal = $ipprc->file_resolve($outputStats);
    222         &my_die("Couldn't find expected output file: $outputStats", $stack_id, $PS_EXIT_SYS_ERROR) unless unless -f $outputStatsReal;
    223 
    224         # measure chip stats
    225         $command = "$ppStatsFromMetadata $outputStatsReal - STACK_SKYCELL";
    226         ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    227             run(command => $command, verbose => $verbose);
    228         unless ($success) {
    229             $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    230             &my_die("Unable to perform ppStatsFromMetadata: $error_code", $stack_id, $error_code);
    231         }
    232         foreach my $line (@$stdout_buf) {
    233             $cmdflags .= " $line";
    234         }
    235         chomp $cmdflags;
     221        my $outputStatsReal = $ipprc->file_resolve($outputStats);
     222        &my_die("Couldn't find expected output file: $outputStats", $stack_id, $PS_EXIT_SYS_ERROR) unless -f $outputStatsReal;
     223
     224        # measure chip stats
     225        $command = "$ppStatsFromMetadata $outputStatsReal - STACK_SKYCELL";
     226        ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     227            run(command => $command, verbose => $verbose);
     228        unless ($success) {
     229            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     230            &my_die("Unable to perform ppStatsFromMetadata: $error_code", $stack_id, $error_code);
     231        }
     232        foreach my $line (@$stdout_buf) {
     233            $cmdflags .= " $line";
     234        }
     235        chomp $cmdflags;
    236236    }
    237237}
Note: See TracChangeset for help on using the changeset viewer.