Changeset 25319 for trunk/pstamp/scripts/pstamp_parser_run.pl
- Timestamp:
- Sep 10, 2009, 11:59:30 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_parser_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_parser_run.pl
r25195 r25319 47 47 } 48 48 49 my $missing_tools; 50 51 my $pstamptool = can_run('pstamptool') or (warn "Can't find pstamptool" and $missing_tools = 1); 52 my $pstampparse = can_run('pstampparse.pl') or (warn "Can't find pstampparse.pl" and $missing_tools = 1); 53 my $dqueryparse = can_run('dqueryparse.pl') or (warn "Can't find dqueryparse.pl" and $missing_tools = 1); 54 my $dsget = can_run('dsget') or (warn "Can't find dsget" and $missing_tools = 1); 55 56 if ($missing_tools) { 57 warn("Can't find required tools."); 58 exit ($PS_EXIT_CONFIG_ERROR); 59 } 60 61 49 62 my_die("--req_id --uri --product are required", $req_id, $PS_EXIT_CONFIG_ERROR) 50 63 if !defined($req_id) or … … 88 101 exit ($PS_EXIT_CONFIG_ERROR) unless defined $defaultDSProduct; 89 102 90 my $missing_tools;91 92 my $pstamptool = can_run('pstamptool') or (warn "Can't find pstamptool" and $missing_tools = 1);93 my $pstampparse = can_run('pstampparse.pl') or (warn "Can't find pstampparse.pl" and $missing_tools = 1);94 my $dqueryparse = can_run('dqueryparse.pl') or (warn "Can't find dqueryparse.pl" and $missing_tools = 1);95 my $dsget = can_run('dsget') or (warn "Can't find dsget" and $missing_tools = 1);96 97 if ($missing_tools) {98 warn("Can't find required tools.");99 exit ($PS_EXIT_CONFIG_ERROR);100 }101 102 103 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 103 104
Note:
See TracChangeset
for help on using the changeset viewer.
