856 | | # Don't use $ENV{'GSDLARCH'}, use the new $ENV{'BITNESS'}, since |
857 | | # $ENV{'GSDLARCH'} is only (meant to be) set when many other 32-bit or 64-bit |
858 | | # specific subdirectories exist in a greenstone installation. |
859 | | # None of those locations need exist when xpdf-tools is installed with GS. |
860 | | # So don't depend on GSDLARCH as forcing that to be exported has side-effects |
861 | | if($ENV{'BITNESS'}) { |
862 | | $xpdf_pdftohtml = &FileUtils::filenameConcatenate($xpdf_pdftohtml, "bin".$ENV{'BITNESS'}); |
863 | | } else { # what if $ENV{'BITNESS'} undefined, fallback on bin32? or 64? |
864 | | $xpdf_pdftohtml = &FileUtils::filenameConcatenate($xpdf_pdftohtml, "bin32"); |
865 | | } |
| 854 | # Don't use $ENV{'GSDLARCH'}, use the new $ENV{'BITNESS'}, since |
| 855 | # $ENV{'GSDLARCH'} is only (meant to be) set when many other 32-bit or 64-bit |
| 856 | # specific subdirectories exist in a greenstone installation. |
| 857 | # None of those locations need exist when xpdf-tools is installed with GS. |
| 858 | # So don't depend on GSDLARCH as forcing that to be exported has side-effects |
| 859 | if($ENV{'BITNESS'}) { |
| 860 | $xpdf_pdftohtml = &FileUtils::filenameConcatenate($xpdf_pdftohtml, "bin".$ENV{'BITNESS'}); |
| 861 | } else { # what if $ENV{'BITNESS'} undefined, fallback on bin32? or 64? |
| 862 | $xpdf_pdftohtml = &FileUtils::filenameConcatenate($xpdf_pdftohtml, "bin32"); |
| 863 | } |