Changeset 20587 for trunk/ippScripts/scripts/magic_tree.pl
- Timestamp:
- Nov 7, 2008, 4:45:28 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_tree.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_tree.pl
r20483 r20587 34 34 # Parse the command-line arguments 35 35 my ($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); 37 37 GetOptions( 38 38 'magic_id=s' => \$magic_id, # Magic identifier … … 48 48 'no-update' => \$no_update, # Don't update the database? 49 49 'no-op' => \$no_op, # Don't do any operations? 50 ' redirect-output' => \$redirect, # Redirect output?50 'logfile=s' => \$logfile, # Redirect output? 51 51 ) or pod2usage( 2 ); 52 52 … … 64 64 $ipprc->define_camera($camera); 65 65 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; 69 67 70 68 # Look for programs we need
Note:
See TracChangeset
for help on using the changeset viewer.
