IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23890


Ignore:
Timestamp:
Apr 16, 2009, 3:48:29 PM (17 years ago)
Author:
Paul Price
Message:

Resolve name before moving.

File:
1 edited

Legend:

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

    r23888 r23890  
    114114    foreach my $file ( @files ) {
    115115        my $from = "$tempdir/$file"; # Source for file
    116         my $to = "$workdir/$file"; # Target destination for file
    117         $ipprc->file_prepare( $to );
     116        my $target = "$workdir/$file"; # Target destination for file
     117        my $to = $ipprc->file_prepare( $target ); # Target for move
    118118        system("mv $from $to") == 0 or die "Unable to move $file into workdir $workdir: $!\n";
    119119    }
Note: See TracChangeset for help on using the changeset viewer.