IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2009, 12:45:24 PM (17 years ago)
Author:
eugene
Message:

update from mainline

Location:
branches/eam_branches/20090715
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715

  • branches/eam_branches/20090715/pstamp/scripts/pstamp_revert_request.pl

    r20256 r25022  
    3131
    3232
    33 my ( $req_id, $dbname, $verbose, $save_temps );
     33my ( $req_id, $dbname, $dbserver, $verbose, $save_temps );
    3434
    3535GetOptions(
    3636           'req_id=s'   => \$req_id,
    3737           'dbname=s'   => \$dbname,
     38           'dbserver=s' => \$dbserver,
    3839           'verbose'    => \$verbose,
    3940           'save-temps' => \$save_temps,
     
    6566    my $command = "$pstamptool -listreq -req_id $req_id";
    6667    $command   .= " -dbname $dbname" if $dbname;
     68    $command   .= " -dbserver $dbserver" if $dbserver;
    6769    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    6870        run(command => $command, verbose => $verbose);
     
    9799if ($product and $fileset) {
    98100    my $command = "$dsreg --del $fileset --product $product --rm --force";
    99     $command .= " --dbname $dbname" if $dbname;
     101#   don't add dbname let dsreg get it from the DS_DBNAME in site.config
     102#    $command .= " --dbname $dbname" if $dbname;
    100103    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    101104        run(command => $command, verbose => $verbose);
     
    109112    my $command = "$pstamptool -revertreq -req_id $req_id";
    110113    $command   .= " -dbname $dbname" if $dbname;
     114    $command   .= " -dbserver $dbserver" if $dbserver;
    111115    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    112116        run(command => $command, verbose => $verbose);
Note: See TracChangeset for help on using the changeset viewer.