Changeset 36236


Ignore:
Timestamp:
2022-06-03T15:32:19+12:00 (4 weeks ago)
Author:
davidb
Message:

Additional locations needed in PATH for Strawberry Perl5 (portable) to operate, otherwise getting an error about Expat.dll failed to load, even though it exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • local/greenstone3/windows-64bit/gs3-setup.bat

    r35689 r36236  
    1414
    1515::set PERL_HOME=C:\strawberry-perl-64bit\perl
    16 set PERL_HOME=%CD%\strawberry-perl5-64bit\perl
     16set _PERL_TOPLEVEL=%CD%\strawberry-perl5-64bit
     17set PERL_HOME=%_PERL_TOPLEVEL%\perl
    1718
    1819if not exist "%PERL_HOME%" (
     
    2829   goto done
    2930)
    30 set PATH=%PERL_HOME%\bin;%ANT_HOME%\bin;%PATH%
     31set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
    3132echo + Set ANT_HOME to local instance and updated PATH
    3233
     34:: Unset local variable(s)
     35set _PERL_TOPLEVEL=
    3336
    3437:done
Note: See TracChangeset for help on using the changeset viewer.