IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31942


Ignore:
Timestamp:
Jul 27, 2011, 3:49:26 PM (15 years ago)
Author:
bills
Message:

--zaplog implementation is now in the ippScripts

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/runchipimfile.pl

    r31941 r31942  
    8484$command .= " --verbose" unless $no_verbose;
    8585$command .= " --dbname $dbname" if $dbname;
     86$command .= " --zaplog" if $zaplog;
    8687
    8788if ($update) {
     
    102103
    103104exit 0 if $pretend;
    104 
    105 # XXX: implement this in chip_imfile.pl
    106 if ($zaplog) {
    107     my $logfile = $path_base . ".$class_id.log";
    108     my $cmd = "neb-mv $logfile $logfile.trash";
    109     print "$cmd\n";
    110     my $rc = system $cmd;
    111     if ($rc) {
    112         my $status = $rc >> 8;
    113         print STDERR "neb-mv failed with $rc $status\n";
    114         exit $status;
    115     }
    116 }
    117105
    118106exit system $command;
  • trunk/tools/runwarpskycell.pl

    r31941 r31942  
    8585$command .= " --verbose" unless $no_verbose;
    8686$command .= " --dbname $dbname" if $dbname;
    87 
     87$command .= " --zaplog" if $zaplog;
    8888
    8989if ($update) {
     
    104104
    105105exit 0 if $pretend;
    106 
    107 # XXX: implement this in warp_skycell.pl
    108 if ($zaplog) {
    109     my $logfile = $path_base . ".log";
    110     my $cmd = "neb-mv $logfile $logfile.trash";
    111     print "$cmd\n";
    112     my $rc = system $cmd;
    113     if ($rc) {
    114         my $status = $rc >> 8;
    115         print STDERR "neb-mv failed with $rc $status\n";
    116         exit $status;
    117     }
    118 }
    119 
    120106
    121107exit system $command;
Note: See TracChangeset for help on using the changeset viewer.