IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20661


Ignore:
Timestamp:
Nov 10, 2008, 3:55:49 PM (17 years ago)
Author:
eugene
Message:

fixed invalid run_state values

File:
1 edited

Legend:

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

    r20652 r20661  
    6060
    6161my $logDest = $ipprc->filename("LOG.EXP", $outroot) or &my_die("Missing entry from camera config", $cam_id, $PS_EXIT_CONFIG_ERROR);
     62
     63if (not defined $run_state) { $run_state = 'new'; }
    6264if ($run_state eq 'update') {
    6365    $logDest .= '.update';
    6466}
    6567
    66 $ipprc->redirect_output($logDest) if $redirect;
     68if ($redirect) {
     69    $ipprc->redirect_output($logDest);
     70    print "\n\n";
     71    print "Starting script $0 on $host\n\n";
     72    print "COMMAND IS: @ARGV\n\n";
     73}
    6774
    6875# Recipes to use based on reduction class
Note: See TracChangeset for help on using the changeset viewer.