Changeset 24707 for trunk/ippScripts/scripts/publish_file.pl
- Timestamp:
- Jul 7, 2009, 1:29:37 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/publish_file.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/publish_file.pl
r24640 r24707 39 39 40 40 # Parse the command-line arguments 41 my ( $pub_id, $ camera, $stage, $stage_id, $format, $product, $workdir );41 my ( $pub_id, $exp_id, $camera, $stage, $stage_id, $format, $product, $workdir ); 42 42 my ( $dbname, $verbose, $no_update, $save_temps, $redirect ); 43 43 44 44 GetOptions( 45 45 'pub_id=s' => \$pub_id, # Publish identifier 46 'exp_id=s' => \$exp_id, # Exposure identifier 46 47 'camera=s' => \$camera, # Camera name 47 48 'stage=s' => \$stage, # Stage of interest … … 57 58 58 59 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 59 pod2usage( -msg => "Required options: --pub_id -- camera --stage --stage_id --product --workdir",60 pod2usage( -msg => "Required options: --pub_id --exp_id --camera --stage --stage_id --product --workdir", 60 61 -exitval => $PS_EXIT_CONFIG_ERROR) unless 61 62 defined $pub_id and 63 defined $exp_id and 62 64 defined $camera and 63 65 defined $product and … … 66 68 defined $workdir; 67 69 68 my $outroot = "$workdir/$product.$pub_id "; # Output root name70 my $outroot = "$workdir/$product.$pub_id.$exp_id"; # Output root name 69 71 70 72 my $ipprc = PS::IPP::Config->new( $camera ) or
Note:
See TracChangeset
for help on using the changeset viewer.
