IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27208 for trunk


Ignore:
Timestamp:
Mar 5, 2010, 1:39:40 PM (16 years ago)
Author:
bills
Message:

in the data store scripts if the value supplied by the user does not end in /index.txt
make it so

Location:
trunk/DataStore/scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStore/scripts/dsfilesetls

    r26158 r27208  
    3333$timeout ||= 30;
    3434$no_proxy = 0 if !defined $no_proxy;
     35
     36if (!($uri =~ /\/index\.txt$/)) {
     37    $uri .= '/index.txt'
     38}
    3539
    3640my $response = DataStore::FileSet->new( uri => $uri )->request(
  • trunk/DataStore/scripts/dsgetfileset

    r26158 r27208  
    3636$timeout ||= 30;
    3737$no_proxy = 0 if !defined $no_proxy;
     38
     39if (!($uri =~ /\/index\.txt$/)) {
     40    $uri .= '/index.txt'
     41}
    3842
    3943my $response = DataStore::FileSet->new( uri => $uri )->request(
  • trunk/DataStore/scripts/dsproductls

    r26158 r27208  
    3535$timeout ||= 30;
    3636$no_proxy = 0 if !defined $no_proxy;
     37
     38if (!($uri =~ /\/index\.txt$/)) {
     39    $uri .= '/index.txt'
     40}
    3741
    3842my %p = (
  • trunk/DataStore/scripts/dsrootls

    r26159 r27208  
    3333$timeout ||= 30;
    3434$no_proxy = 0 if !defined $no_proxy;
     35
     36if (!($uri =~ /\/index\.txt$/)) {
     37    $uri .= '/index.txt'
     38}
    3539
    3640my %p = (
Note: See TracChangeset for help on using the changeset viewer.