IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11846


Ignore:
Timestamp:
Feb 15, 2007, 4:53:19 PM (19 years ago)
Author:
Paul Price
Message:

Adding serial scripts to drive phases 2 and 3.

Location:
trunk/ippScripts/scripts
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_phase0.pl

    r11414 r11846  
    1212use Pod::Usage qw( pod2usage );
    1313
    14 my ($dbname                     # Database name to use
     14my ($dbname,                    # Database name to use
     15    $workdir,                   # Working directory
    1516    );
    1617GetOptions(
    17            'dbname|d=s' => \$dbname,
     18           'dbname|d=s'  => \$dbname,
     19           'workdir|w=s' => \$workdir,
    1820) or pod2usage( 2 );
    1921
     
    5052   
    5153    my $command = "$phase0_imfile --exp_tag $exp_tag --class $class --class_id $class_id --uri $uri --dbname $dbname";
     54    $command .= " --workdir $workdir" if defined $workdir;
    5255    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    5356        run( command => $command, verbose => 1 );
     
    6972   
    7073    my $command = "$phase0_exp --exp_tag $exp_tag --dbname $dbname";
     74    $command .= " --workdir $workdir" if defined $workdir;
    7175    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    7276        run( command => $command, verbose => 1 );
Note: See TracChangeset for help on using the changeset viewer.