- Timestamp:
- Jan 11, 2012, 11:19:21 PM (15 years ago)
- Location:
- branches/meh_branches/ppsub_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/camera_exp.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppsub_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppsub_test/ippScripts/scripts/camera_exp.pl
r31906 r33098 88 88 89 89 if ($redirect) { 90 $ipprc->redirect_ output($logDest) or my_die( "Unable to redirect output", $cam_id, $PS_EXIT_SYS_ERROR );90 $ipprc->redirect_to_logfile($logDest) or my_die( "Unable to redirect output", $cam_id, $PS_EXIT_SYS_ERROR ); 91 91 print "\n\n"; 92 92 print "Starting script $0 on $host\n\n"; … … 404 404 $ipprc->file_exists($file); 405 405 406 # Funpack to confirm we've really made things correctly 407 my $diskfile = $ipprc->file_resolve($file); 408 if ($diskfile =~ /fits/) { 409 my $funpack = can_run('funpack') or &my_die ("Can't find funpack", $cam_id, $PS_EXIT_SYS_ERROR); 410 my $check_command = "$funpack -S $diskfile > /dev/null"; 411 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 412 run(command => $check_command, verbose => $verbose); 413 if (!$success) { 414 &my_die("Output file not a valid fits file: $file", $cam_id, $PS_EXIT_SYS_ERROR); 415 } 416 } 417 ##### 418 419 406 420 my $scheme = file_scheme($file); 407 421 if ($replicate and $scheme and (file_scheme($file) eq 'neb')) {
Note:
See TracChangeset
for help on using the changeset viewer.
