Changeset 32220 for main


Ignore:
Timestamp:
2018-06-26T15:56:18+12:00 (6 years ago)
Author:
ak19
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.