- Timestamp:
- Aug 7, 2009, 12:45:24 PM (17 years ago)
- Location:
- branches/eam_branches/20090715
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/scripts/dquery_finish.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715
- Property svn:mergeinfo changed
/trunk (added) merged: 24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24950,24953-24971,24973-24977,24986-24989,24993-25017
- Property svn:mergeinfo changed
-
branches/eam_branches/20090715/pstamp/scripts/dquery_finish.pl
r19221 r25022 20 20 use PS::IPP::Config qw( :standard ); 21 21 22 my ( $req_id, $req_name, $req_file, $product, $dbname, $ verbose, $save_temps );22 my ( $req_id, $req_name, $req_file, $product, $dbname, $dbserver, $verbose, $save_temps ); 23 23 24 24 GetOptions( … … 28 28 'product=s' => \$product, 29 29 'dbname=s' => \$dbname, 30 'dbserver=s' => \$dbserver, 30 31 'verbose' => \$verbose, 31 32 'save-temps' => \$save_temps, … … 56 57 my $outputDataStoreRoot = metadataLookupStr($ipprc->{_siteConfig}, 'DATA_STORE_ROOT'); 57 58 exit ($PS_EXIT_CONFIG_ERROR) unless defined $outputDataStoreRoot; # lookup failure outputs a message 59 60 if (!$dbserver) { 61 $dbserver = metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER'); 62 } 58 63 59 64 if ($product eq "NULL") { … … 89 94 my $command = "$pstamptool -listjob -req_id $req_id"; 90 95 $command .= " -dbname $dbname" if $dbname; 96 $command .= " -dbserver $dbserver" if $dbserver; 91 97 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 92 98 run(command => $command, verbose => $verbose); … … 149 155 $command .= " -fault $fault" if $fault; 150 156 $command .= " -dbname $dbname" if $dbname; 157 $command .= " -dbserver $dbserver" if $dbserver; 151 158 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 152 159 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
