IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14135


Ignore:
Timestamp:
Jul 11, 2007, 10:06:41 AM (19 years ago)
Author:
Paul Price
Message:

Fixing multiple compilation errors of the form: Global symbol "$exp" requires explicit package name.
Hoping I got the names right following the database reorg.

File:
1 edited

Legend:

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

    r14039 r14135  
    122122        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    123123            run( command => $command, verbose => 1 );
    124         die "Unable to inject $exp $class_id: $error_code\n" if not $success;
     124        die "Unable to inject $exp_name $class_id: $error_code\n" if not $success;
    125125    }
    126126
    127127    if (scalar @classes == 0) {
    128         my $filename = "$exp.fits";
    129         $filename = caturi( $exp, $filename ) if defined $add_dir;
     128        my $filename = $exp_name . '.fits';
     129        $filename = caturi( $exp_name, $filename ) if defined $add_dir;
    130130        $filename = caturi( $path, $filename );
    131131
     
    133133
    134134        $filename = $ipprc->convert_filename_relative( $filename );
    135         my $command = "$pxinject -newImfile -exp_tag $exp_tag -class fpa -class_id fpa -dbname $dbname -uri $filename"; # Command to run
     135        my $command = "$pxinject -newImfile -exp_id $exp_id -exp_name $exp_name -class fpa -class_id fpa -dbname $dbname -uri $filename"; # Command to run
    136136        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    137137            run( command => $command, verbose => 1 );
    138         die "Unable to inject $exp imfile: $error_code\n" if not $success;
     138        die "Unable to inject $exp_name imfile: $error_code\n" if not $success;
    139139    }
    140140
Note: See TracChangeset for help on using the changeset viewer.