Changeset 32220

Show
Ignore:
Timestamp:
26.06.2018 15:56:18 (3 months ago)
Author:
ak19
Message:

Minor changes to get xpdf-tools' pdftohtml to work for mac too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gsConvert.pl

    r32209 r32220  
    850850    if($ENV{'GSDLOS'} =~ m/^windows$/i) { # For Windows, just use the 32 bit xpdf's pdftohtml as it works the same as the 64 bit 
    851851        $xpdf_pdftohtml = &FileUtils::filenameConcatenate($xpdf_pdftohtml, "bin32"); 
    852     } elsif ($ENV{'GSDLOS'} =~ m/^darwin$/i) { 
     852    #} elsif ($ENV{'GSDLOS'} =~ m/^darwin$/i) { 
    853853        # TODO 
    854     } else { # unix or windows, use the appropriate bin folder for the bitness of the system 
    855         # In fact, when testing 3 different PDF docs, it doesn't seem to make a difference on 
    856         # 64 bit Windows whether the pdftohtml binary in the bin32 or bin64 folder is used. 
    857         # However, maybe we'll use another xpdf-tool too in future where bitness will be relevant. 
     854    } else { # unix (linux|darwin), use the bin32/bin64 folder depending on the BITNESS env var 
    858855     
    859856        # Don't use $ENV{'GSDLARCH'}, use the new $ENV{'BITNESS'}, since