Changeset 12903


Ignore:
Timestamp:
2006-09-28T16:02:44+12:00 (18 years ago)
Author:
kjdon
Message:

remove the trailing slash from cache_dir -on windows this stuff things up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/downloadfrom.pl

    r12574 r12903  
    137137    print "downloadfrom.pl start gathering data by using $strMode...\n\n";
    138138   
     139    # need to remove trailing slash from cache dir
     140    if (defined $hashOptions->{'cache_dir'}) {
     141        $hashOptions->{'cache_dir'} =~ s/[\/\\]$//;
     142    }
    139143    my $blnResult = &download::process($objMode,$hashOptions);
    140144   
Note: See TracChangeset for help on using the changeset viewer.