- Timestamp:
- Mar 5, 2009, 11:24:29 AM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090215
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/magic_tree.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215
- Property svn:mergeinfo changed
/trunk merged: 22727-22752,23115-23126,23128,23137-23157,23159-23174,23182-23195,23198
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090215/ippScripts/scripts/magic_tree.pl
r23197 r23199 24 24 use File::Temp qw( tempfile ); 25 25 use PS::IPP::Config 1.01 qw( :standard ); 26 27 my $ipprc = PS::IPP::Config->new(); # IPP configuration28 26 29 27 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); … … 70 68 defined $outroot; 71 69 72 # Unhandled exceptions should be passed on to my_die so they get pushed into the database 73 $SIG{__DIE__} = sub { die @_ if $^S; 74 my_die( $_[0], $magic_id, $PS_EXIT_UNKNOWN_ERROR ); }; 75 76 $ipprc->define_camera($camera); 77 78 $ipprc->redirect_output($logfile) if $logfile; 70 my $ipprc = PS::IPP::Config->new( $camera ) or my_die( "Unable to set up", $magic_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 71 $ipprc->redirect_output($logfile) or my_die( "Unable to redirect output", $magic_id, $PS_EXIT_SYS_ERROR ) if $logfile; 79 72 80 73 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
Note:
See TracChangeset
for help on using the changeset viewer.
