IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29381


Ignore:
Timestamp:
Oct 12, 2010, 2:33:57 PM (16 years ago)
Author:
watersc1
Message:

typo fix and counter addition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/shuffle_otas.pl

    r29378 r29381  
    111111}
    112112my $dr_get_ext_ids = $db->selectall_arrayref( $sth_get_ext_ids );
     113my $counter = 0;
    113114foreach my $row (@{ $dr_get_ext_ids }) {
     115    $counter++;
    114116    my ($current_vol_id,$current_ins_id,$so_id,$ext_id,$count,
    115117        $max_ins_id,$check_vol_id) = @{ $row };
     
    125127            if ($ok_cab_id != $forbidden_cab_id) {
    126128                if ($verbose) {
    127                     print STDERR "Acceptible to move because ($max_ins_id,$current_ins_id,$current_vol_id,$forbidden_cab_id) != ($min_ins_id,$ok_vol_id,$ok_cab_id)\n";
     129                    print STDERR "Acceptable to move because ($max_ins_id,$current_ins_id,$current_vol_id,$forbidden_cab_id) != ($min_ins_id,$ok_vol_id,$ok_cab_id) Count: $counter\n";
    128130                }
    129131                my $cmd = "$nebshift --volume $destination_name $ext_id $vol_name";
Note: See TracChangeset for help on using the changeset viewer.