Changeset 24457
- Timestamp:
- Jun 16, 2009, 9:28:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_mops/ippScripts/scripts/publish_file.pl
r24452 r24457 70 70 &my_die( "Unable to set up", $pub_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 71 71 72 $ipprc->outroot_prepare( $outroot ); 73 72 74 my $mdcParser = PS::IPP::Metadata::Config->new; 73 75 … … 123 125 foreach my $comp ( keys %files ) { 124 126 my $file = $ipprc->file_resolve( $files{$comp} ) or 125 &my_die("Unable to resolve file $files{$comp}", $pub_id, $PS_EXIT_ PROG_ERROR);127 &my_die("Unable to resolve file $files{$comp}", $pub_id, $PS_EXIT_SYS_ERROR); 126 128 my_die("Unable to find file $file", $pub_id, $PS_EXIT_PROG_ERROR) unless $ipprc->file_exists( $file ); 127 129 128 130 my $zp = $zp{$comp}; 129 131 if ($product eq "IPP-MOPS") { 130 my $out = "$outroot.$comp.fits"; 131 132 my $out = $ipprc->file_resolve( "$outroot.$comp.fits" ); 132 133 my $command = "$ppMops $file $zp $out"; 133 134 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 145 146 146 147 unless ($no_update) { 147 my $command = "$dsreg --add $stage.$stage_id -- product $product --type $product --list $listFileName";148 my $command = "$dsreg --add $stage.$stage_id --copy --abspath --product $product --type $product --list $listFileName"; 148 149 149 150 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
