IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13824


Ignore:
Timestamp:
Jun 13, 2007, 5:21:38 PM (19 years ago)
Author:
eugene
Message:

fixed scope error

File:
1 edited

Legend:

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

    r13820 r13824  
    33use warnings;
    44use strict;
     5use Carp;
    56
    67## report the program and machine
     
    157158
    158159# convert supplied DVO database name to UNIX filename
     160my $dvodbReal;
    159161if (defined $dvodb) {
    160     my $dvodbReal = $ipprc->convert_filename_absolute( $dvodb );
     162    $dvodbReal = $ipprc->convert_filename_absolute( $dvodb );
    161163}
    162164
     
    187189       
    188190        if (defined $dvodbReal) {
    189             my $command .= " -D CATDIR $dvodbReal";
     191            $command .= " -D CATDIR $dvodbReal";
    190192        }
    191193
     
    251253    my $exit_code = shift; # Exit code to add
    252254
    253     warn($msg);
     255    carp($msg);
    254256    if ($cam_id and not $no_update) {
    255257        my $command = "$camtool -addprocessedexp -cam_id $cam_id -code $exit_code";
Note: See TracChangeset for help on using the changeset viewer.