- Timestamp:
- Mar 17, 2009, 12:08:50 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/magic_mask.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk merged eligible /branches/eam_branches/eam_branch_20090303 23158-23228
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/cnb_branches/cnb_branch_20090301/ippScripts/scripts/magic_mask.pl
r22430 r23352 22 22 23 23 use PS::IPP::Config 1.01 qw( :standard ); 24 25 my $ipprc = PS::IPP::Config->new(); # IPP configuration26 24 27 25 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); … … 58 56 defined $outroot; 59 57 60 # Unhandled exceptions should be passed on to my_die so they get pushed into the database 61 $SIG{__DIE__} = sub { die @_ if $^S; 62 my_die( $_[0], $magic_id, $PS_EXIT_UNKNOWN_ERROR ); }; 63 64 $ipprc->define_camera($camera); 65 66 $ipprc->redirect_output($logfile) if $logfile; 58 my $ipprc = PS::IPP::Config->new( $camera ) or my_die( "Unable to set up", $magic_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 59 $ipprc->redirect_output($logfile) or my_die( "Unable to redirect output", $magic_id, $PS_EXIT_SYS_ERROR ) if $logfile; 67 60 68 61 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files … … 153 146 my $exit_code = shift; # Exit code to add 154 147 148 $exit_code = $PS_EXIT_PROG_ERROR unless defined $exit_code; 149 155 150 carp($msg); 156 151 if (defined $magic_id and not $no_update) {
Note:
See TracChangeset
for help on using the changeset viewer.
