Changeset 24831 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Jul 16, 2009, 5:14:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r23267 r24831 16 16 my $verbose; 17 17 my $dbname; 18 my $dbserver; 18 19 my $req_id; 19 20 my $request_file_name; … … 29 30 'mode=s' => \$mode, 30 31 'dbname=s' => \$dbname, 32 'dbserver=s'=> \$dbserver, 31 33 'verbose' => \$verbose, 32 34 ); … … 89 91 $command .= " -outProduct $product"; 90 92 $command .= " -dbname $dbname" if $dbname; 93 $command .= " -dbserver $dbserver" if $dbserver; 91 94 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 92 95 run(command => $command, verbose => $verbose); … … 143 146 die "job_type is list_uri but mode is $mode" if ($job_type eq "list_uri") and ($mode ne "list_uri"); 144 147 145 my $proj_hash = resolve_project($ipprc, $project, $dbname );148 my $proj_hash = resolve_project($ipprc, $project, $dbname, $dbserver); 146 149 die "project $project not found\n" unless $proj_hash; 147 150 … … 217 220 . " -uri $listfile -outputBase $out_dir -rownum $rownum"; 218 221 $command .= " -dbname $dbname" if $dbname; 222 $command .= " -dbserver $dbserver" if $dbserver; 219 223 if ($mode eq "list_job") { 220 224 print "$command\n"; … … 274 278 $command .= " -exp_id $exp_id" if $exp_id; 275 279 $command .= " -dbname $dbname" if $dbname; 280 $command .= " -dbserver $dbserver" if $dbserver; 276 281 277 282 if ($mode eq "list_job") {
Note:
See TracChangeset
for help on using the changeset viewer.
