IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2010, 11:35:15 AM (16 years ago)
Author:
Paul Price
Message:

Add date of processing to output log.

File:
1 edited

Legend:

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

    r27449 r27718  
    88use Sys::Hostname;
    99my $host = hostname();
     10my $date = `date`;
    1011# print "\n\n";
    11 # print "Starting script $0 on $host\n\n";
     12# print "Starting script $0 on $host at $date\n\n";
    1213
    1314use vars qw( $VERSION );
     
    115116
    116117# Get the list of data products for this component
    117 # note: We my_die in get_file_list if something goes wrong. 
     118# note: We my_die in get_file_list if something goes wrong.
    118119
    119120my $file_list = get_file_list($stage, $component, $path_base, $clean);
     
    193194    $num_files++;
    194195    if ($image_type && $nan_masked_pixels) {
    195         # save the 
     196        # save the
    196197        if ($image_type eq 'image') {
    197198            $image = $file_name;
     
    222223    # One last check as to whether magic has been applied to the inputs
    223224
    224     # Note: the sql for disttool -pendingcomponent won't select a component that 
     225    # Note: the sql for disttool -pendingcomponent won't select a component that
    225226    # requires magic and hasn't been magicked, but we check again here
    226227
     
    327328### Pau.
    328329
    329 # return the image type (image, mask, or variance) if this file rule refers to 
     330# return the image type (image, mask, or variance) if this file rule refers to
    330331# one of the big fits files that are not included in a clean distribution
    331332sub get_image_type {
     
    360361sub open_with_retries {
    361362    my $name = shift;
    362    
     363
    363364    my $tries = 1;
    364365    my $max_tries = 5;
     
    372373        }
    373374    }
    374    
     375
    375376    &my_die("failed to open $name after $max_tries tries\n", $component,
    376377                    $PS_EXIT_DATA_ERROR) if (!$opened);
Note: See TracChangeset for help on using the changeset viewer.