IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36231


Ignore:
Timestamp:
Oct 22, 2013, 12:55:52 PM (13 years ago)
Author:
watersc1
Message:

If the hostname isn't defined, set up a dummy hostname.

File:
1 edited

Legend:

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

    r36221 r36231  
    8181my $regtool_cmd = "$regtool -processedimfile -exp_id $exp_id -dbname $dbname";
    8282my ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    83     run(command => $regtool_cmd, verbose => 0);
     83    run(command => $regtool_cmd, verbose => 1);
    8484unless ($success) {
    8585    $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     
    9595    my $hostname   = $imfile->{hostname};
    9696    my $class_id   = $imfile->{class_id};
    97    
     97
     98    if (!(defined($hostname))) { $hostname = 'ipp004'; }
    9899
    99100#    if (($data_state ne 'full')||($data_state ne 'compressed')) { next; } ## skip things that aren't full.
Note: See TracChangeset for help on using the changeset viewer.