Changeset 32207 for main/trunk/greenstone2/bin/script/gsConvert.pl
- Timestamp:
- 2018-06-25T16:51:57+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r32205 r32207 848 848 my $xpdf_pdftohtml = &FileUtils::filenameConcatenate($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "xpdf-tools"); 849 849 850 if ($ENV{'GSDLOS'} =~ m/^ windows$/i) {850 if ($ENV{'GSDLOS'} =~ m/^darwin$/i) { 851 851 # TODO 852 } elsif ($ENV{'GSDLOS'} =~ m/^darwin$/i) { 853 # TODO 854 } else { # unix, use the appropriate bin folder for the bitness of the system 855 852 } else { # unix or windows, use the appropriate bin folder for the bitness of the system 853 # In fact, when testing 3 different PDF docs, it doesn't seem to make a difference on 854 # 64 bit Windows whether the pdftohtml binary in the bin32 or bin64 folder is used. 855 # However, maybe we'll use another xpdf-tool too in future where bitness will be relevant. 856 856 857 # Don't use $ENV{'GSDLARCH'}, use the new $ENV{'BITNESS'}, since 857 858 # $ENV{'GSDLARCH'} is only (meant to be) set when many other 32-bit or 64-bit … … 866 867 } 867 868 869 #print STDERR "@@@@ BITNESS: " . $ENV{'BITNESS'} . "\n"; 870 868 871 # We'll create the file by name $output_filestem during post-conversion processing. 869 872 # Note that Xpdf tools will only create its conversion products in a dir that does
Note:
See TracChangeset
for help on using the changeset viewer.