IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2007, 3:10:21 PM (19 years ago)
Author:
Paul Price
Message:

Fixing problem with resolving directories using PS::IPP::Config->datapath() --- use of File::Spec->catfile on $workdir = path://SOMETHING/ produced path:/SOMETHING/ which then killed the URI parsing in PS::IPP::Config->convert_filename_absolute().

File:
1 edited

Legend:

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

    r11319 r11333  
    6464}
    6565
    66 unless (defined $workdir) {
     66if (defined $workdir) {
     67    $workdir = $ipprc->convert_filename_absolute( $workdir );
     68} else {
    6769    my ($vol, $dir, $file) = File::Spec->splitpath( $input );
    6870    $workdir = $dir;
     
    7274my $outputRoot =  $exp_tag . '.p2';
    7375$outputRoot = File::Spec->catfile( $workdir, $outputRoot );
    74 $outputRoot = $ipprc->convert_filename_absolute($outputRoot);
    7576$input = $ipprc->convert_filename_absolute ( $input );
    7677
Note: See TracChangeset for help on using the changeset viewer.