Changeset 3244
- Timestamp:
- 2002-07-08T17:59:24+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/phind.pm
r3181 r3244 364 364 &execute("suffix \"$phinddir\" $suffixmode $verbosity", $verbosity, $out); 365 365 366 367 # check that we generated some files. It's not necessarily an error if 368 # we didn't (execute() would have quit on error), but we can't go on. 369 my $phrasesfile=&util::filename_cat($self->{'phinddir'}, 'phrases'); 370 if (! -r $phrasesfile) { 371 print $out "\nNo phrases found for phind classifier!\n"; 372 return; 373 } 374 366 375 # Create the phrase file and put phrase numbers in phind/phrases 367 376 print $out "\nSorting and renumbering phrases for input to mgpp\n" if $verbosity; … … 589 598 if ($status != 0) { 590 599 print STDERR "phind - Error executing '$command': $!\n"; 591 exit($status); 600 exit($status); # this causes the build to fail... 592 601 } 593 602 }
Note:
See TracChangeset
for help on using the changeset viewer.