Changeset 24447
- Timestamp:
- Jun 16, 2009, 3:00:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_mops/ippScripts/scripts/publish_file.pl
r24446 r24447 44 44 GetOptions( 45 45 'pub_id=s' => \$pub_id, # Publish identifier 46 'camera=s' => \$camera, # Camera name 46 47 'stage=s' => \$stage, # Stage of interest 47 48 'stage_id=s' => \$stage_id, # Stage identifier … … 65 66 my $outroot = "$workdir/$product.$pub_id"; # Output root name 66 67 67 my $ipprc = PS::IPP::Config->new( ) or68 my $ipprc = PS::IPP::Config->new( $camera ) or 68 69 &my_die( "Unable to set up", $pub_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 69 70 … … 78 79 79 80 if ($stage eq 'diff') { 80 $command = "difftool - skyfile -diff_id $stage_id";81 $command = "difftool -diffskyfile -diff_id $stage_id"; 81 82 } elsif ($stage eq 'camera') { 82 83 $command = "camtool -processedexp -cam_id $stage_id"; … … 84 85 &my_die( "Unrecognised stage: $stage", $pub_id, $PS_EXIT_CONFIG_ERROR ); 85 86 } 87 $command .= " -dbname $dbname" if defined $dbname; 86 88 87 89 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 150 152 unless ($no_update) { 151 153 my $command = "$pubtool -add -pub_id $pub_id -path_base $outroot"; 154 $command .= " -dbname $dbname" if defined $dbname; 152 155 153 156 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
