IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2009, 1:56:50 PM (17 years ago)
Author:
bills
Message:

change disttool -pendingcomponent to output "$outroot.$dist_id" as outdir to help make it unique
allow 'clean' raw stage distributions. (Database information only.) This is required to
support mirrors with chip stage and beyond images but not raw data

File:
1 edited

Legend:

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

    r23744 r23777  
    2828
    2929# Parse the command-line arguments
    30 my ($dist_id, $stage, $stage_id, $outroot);
     30my ($dist_id, $stage, $stage_id, $outdir);
    3131my ($dbname, $save_temps, $verbose, $no_update, $no_op, $logfile);
    3232
     
    3535           'stage=s'        => \$stage,      # raw, chip, warp, or diff
    3636           'stage_id=s'     => \$stage_id,   # exp_id, chip_id, warp_id, or diff_id
    37            'outroot=s'      => \$outroot,    # "directory" for outputs
     37           'outdir=s'       => \$outdir,    # "directory" for outputs
    3838           'save-temps'     => \$save_temps, # Save temporary files?
    3939           'dbname=s'       => \$dbname,     # Database name
     
    4545
    4646pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    47 pod2usage( -msg => "Required options: --dist_id --stage --stage_id --outroot",
     47pod2usage( -msg => "Required options: --dist_id --stage --stage_id --outdir",
    4848           -exitval => 3) unless
    4949    defined $dist_id and
    5050    defined $stage and
    5151    defined $stage_id and
    52     defined $outroot;
     52    defined $outdir;
    5353
    5454$ipprc->redirect_output($logfile) if $logfile;
     
    9090
    9191# XXX we should create a file rule for this
    92 my $outfile = "$outroot/dbinfo.$stage.$stage_id.mdc";
     92my $outfile = "$outdir/dbinfo.$stage.$stage_id.mdc";
    9393
    9494{
Note: See TracChangeset for help on using the changeset viewer.