IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2009, 2:57:19 PM (17 years ago)
Author:
Paul Price
Message:

Adding path_base for error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ippScripts/scripts/publish_file.pl

    r24427 r24446  
    6363    defined $workdir;
    6464
     65my $outroot = "$workdir/$product.$pub_id"; # Output root name
     66
    6567my $ipprc = PS::IPP::Config->new() or
    6668    &my_die( "Unable to set up", $pub_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration
     
    113115# Prepare for data store input
    114116my ($listFile, $listFileName) = tempfile("/tmp/publish.$pub_id.list.XXXX", UNLINK => !$save_temps );
    115 
    116 my $outroot = "$workdir/$product.$pub_id";
    117117
    118118# Process each file
     
    173173        my $command = "$pubtool -add";
    174174        $command .= " -pub_id $pub_id";
     175        $command .= " -path_base $outroot";
    175176        $command .= " -fault $fault";
    176177        $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.