IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 15, 2009, 1:53:33 PM (16 years ago)
Author:
bills
Message:

implementation for "get_image" jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_parser_run.pl

    r25319 r26151  
    1313use Getopt::Long qw( GetOptions );
    1414use File::Basename qw( basename dirname);
     15use File::Copy;
    1516use POSIX qw( strftime );
    1617use Carp;
     
    119120        unlink $new_uri or my_die("failed to unlink $new_uri", $req_id, $PS_EXIT_UNKNOWN_ERROR);
    120121    }
    121     if (! symlink $uri, $new_uri) {
    122         my_die ("failed to link request file $uri to workdir $workdir", $req_id, $PS_EXIT_UNKNOWN_ERROR);
     122    if (! copy $uri, $new_uri) {
     123        my_die ("failed to copy request file $uri to workdir $workdir", $req_id, $PS_EXIT_UNKNOWN_ERROR);
    123124    }
    124125}
Note: See TracChangeset for help on using the changeset viewer.