IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20587


Ignore:
Timestamp:
Nov 7, 2008, 4:45:28 PM (18 years ago)
Author:
bills
Message:

fix argument to match task

File:
1 edited

Legend:

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

    r20483 r20587  
    3434# Parse the command-line arguments
    3535my ($magic_id, $warp_id, $tess_id, $camera, $ra0, $dec0, $dbname, $outroot,
    36     $save_temps, $verbose, $no_update, $no_op, $redirect);
     36    $save_temps, $verbose, $no_update, $no_op, $logfile);
    3737GetOptions(
    3838           'magic_id=s'      => \$magic_id,   # Magic identifier
     
    4848           'no-update'       => \$no_update,  # Don't update the database?
    4949           'no-op'           => \$no_op,      # Don't do any operations?
    50            'redirect-output' => \$redirect,   # Redirect output?
     50           'logfile=s'       => \$logfile,   # Redirect output?
    5151           ) or pod2usage( 2 );
    5252
     
    6464$ipprc->define_camera($camera);
    6565
    66 my $logDest = $ipprc->filename("LOG.EXP", $outroot, $magic_id) or
    67     &my_die("Missing entry from camera config", $magic_id, $PS_EXIT_CONFIG_ERROR);
    68 $ipprc->redirect_output($logDest) if $redirect;
     66$ipprc->redirect_output($logfile) if $logfile;
    6967
    7068# Look for programs we need
Note: See TracChangeset for help on using the changeset viewer.