IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 15, 2014, 3:50:23 PM (12 years ago)
Author:
bills
Message:

added -rerun flag and made --pretend an alias for --no-update

File:
1 edited

Legend:

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

    r36633 r36669  
    4242
    4343# Parse the command-line arguments
    44 my ($stage, $stage_limit, $dist_root, $workdir, $no_magic);
     44my ($stage, $stage_limit, $dist_root, $workdir, $no_magic, $rerun);
    4545my ($dbname, $save_temps, $verbose, $no_update, $logfile);
    4646my @labels;
     
    5151           'workdir=s'      => \$workdir,     # workdir
    5252           'stage_limit=s'  => \$stage_limit,# maximum number of runs queued for each stage
     53           'rerun'          => \$rerun,      # queue new runs even if one exists
    5354#           'dist_root=s'    => \$dist_root,  # root of distribution work area
    5455           'no_magic'       => \$no_magic,   # queue runs without requiring magic (for testing only)
     
    5657           'verbose'        => \$verbose,    # Print stuff?
    5758           'no-update'      => \$no_update,  # Don't update the database
     59           'pretend'        => \$no_update,  # Don't update the database
    5860           'save-temps'     => \$save_temps, # Save temporary files?
    5961           'logfile=s'      => \$logfile,
     
    104106        $command .= " -singlefilter" if $single;
    105107        $command .= " -no_magic" if $no_magic;
     108        $command .= " -rerun" if $rerun;
    106109        $command .= " -pretend" if $no_update;
    107110        $command .= " -limit $stage_limit" if $stage_limit;
Note: See TracChangeset for help on using the changeset viewer.