IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2009, 4:34:35 PM (17 years ago)
Author:
Paul Price
Message:

Fixes for string handling of output from dsproductls.

File:
1 edited

Legend:

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

    r23888 r23892  
    5252
    5353# Get list of filesets
    54 my $uri = "$source/product"; # URI for datastore product
     54my $uri = "$source/$product"; # URI for datastore product
    5555$uri .= "/index.txt" unless $uri =~ m|/index.txt$|;
    5656my $command = "dsproductls --uri $uri"; # Command to execute
     
    6464my $last;                   # Last fileset seen
    6565foreach my $line (@$stdout_buf) {
    66     $line =~ s/\#.*$//;
     66    $line =~ s/\#.*//g;
    6767    next unless $line =~ /\S+/;
     68    $line =~ s/^\s+//;
    6869    my @fields = split(/\s+/, $line); # Fields in line
    6970    my $fileset = $fields[1];
Note: See TracChangeset for help on using the changeset viewer.