Changeset 2248


Ignore:
Timestamp:
2001-04-02T15:56:27+12:00 (23 years ago)
Author:
sjboddie
Message:

Fixed another couple of bugs in the pdf and word conversion stuff after
doing some testing on linux

Location:
trunk/gsdl/bin/script
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/gsConvert.pl

    r2241 r2248  
    466466    ($dirname, $input_filename, $output_filestem) = @_;
    467467
    468     my $cmd = "pdftotext \"$input_filename\" > \"$output_filestem.text\"";
     468    my $cmd = "pdftotext \"$input_filename\" \"$output_filestem.text\"";
    469469    $cmd .= " 2> \"$output_filestem.err\"";
    470470   
     
    478478
    479479    # make sure the converter made something
    480     if (! -e "$output_filestem.html")
     480    if (! -e "$output_filestem.text")
    481481    {
    482482    &util::rm("$output_filestem.out") if (-e "$output_filestem.out");
  • trunk/gsdl/bin/script/pdftohtml.pl

    r2241 r2248  
    188188    # that the PATH is set up correctly - note also that on windows
    189189    # we use pdftohtml.exe not pdftohtml.bin
    190     $cmd = "pdftohtml" if ($ENV{'GSDLOS'} !~ /^windows$/) {
     190    $cmd = "pdftohtml" if ($ENV{'GSDLOS'} =~ /^windows$/);
    191191
    192192    if ($timeout) {$cmd = "ulimit -t $timeout;";}
Note: See TracChangeset for help on using the changeset viewer.