IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19284


Ignore:
Timestamp:
Aug 28, 2008, 7:47:31 PM (18 years ago)
Author:
bills
Message:

/tmp/$tess_id.$the_rest may be invalid if $tess_id is a path with
multiple components. Use basename to make a legal path

File:
1 edited

Legend:

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

    r19262 r19284  
    2020use Data::Dumper;
    2121use File::Temp qw( tempfile );
     22use File::Basename;
    2223use PS::IPP::Config 1.01 qw( :standard );
    2324
     
    120121
    121122# Generate MDC file with the inputs
    122 my ($listFile, $listName) = tempfile( "/tmp/$tess_id.$skycell_id.stk.$stack_id.list.XXXX", UNLINK => !$save_temps );
     123my $tess_base = basename($tess_id);
     124my ($listFile, $listName) = tempfile("/tmp/$tess_base.$skycell_id.stk.$stack_id.list.XXXX", UNLINK => !$save_temps );
    123125my $num = 0;
    124126my $inputSources;               # Sources to use as stamps
Note: See TracChangeset for help on using the changeset viewer.