- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/scripts/pstamp_parser_run.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/pstamp/scripts/pstamp_parser_run.pl
r25319 r27838 13 13 use Getopt::Long qw( GetOptions ); 14 14 use File::Basename qw( basename dirname); 15 use File::Copy; 15 16 use POSIX qw( strftime ); 16 17 use Carp; … … 27 28 my $redirect_output; 28 29 my $product; 30 my $label; 29 31 my $verbose; 30 32 my $dbname; … … 35 37 'uri=s' => \$uri, 36 38 'product=s' => \$product, 39 'label=s' => \$label, 37 40 'redirect-output' => \$redirect_output, 38 41 'verbose' => \$verbose, … … 119 122 unlink $new_uri or my_die("failed to unlink $new_uri", $req_id, $PS_EXIT_UNKNOWN_ERROR); 120 123 } 121 if (! symlink$uri, $new_uri) {122 my_die ("failed to linkrequest file $uri to workdir $workdir", $req_id, $PS_EXIT_UNKNOWN_ERROR);124 if (! copy $uri, $new_uri) { 125 my_die ("failed to copy request file $uri to workdir $workdir", $req_id, $PS_EXIT_UNKNOWN_ERROR); 123 126 } 124 127 } … … 145 148 if ($request_type eq "PS1_PS_REQUEST") { 146 149 $reqType = 'pstamp'; 147 $parse_cmd = $pstampparse; 150 $parse_cmd = "$pstampparse"; 151 $parse_cmd .= " --label $label" if $label; 148 152 } elsif ($request_type eq "MOPS_DETECTABILITY_QUERY") { 149 153 $reqType = 'dquery';
Note:
See TracChangeset
for help on using the changeset viewer.
