Ignore:
Timestamp:
2011-02-01T22:13:06+13:00 (13 years ago)
Author:
ak19
Message:

Fixes to get OpenOffice plugin's options to show up in GLI without calling GS2's setup.bat manually (it should be called by gli.bat). It wasn't getting called anymore because of the newly added setup.bat file in the openoffice extension, whose subtle interactions with the rest of the gli.bat procedure caused the call to GS2's setup.bat to be skipped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bat

    r23011 r23650  
    9696
    9797:End
     98popd
    9899endlocal & set PATH=%PATH%& set GSDLHOME=%GSDLHOME%& set GSDLOS=%GSDLOS%
    99100
     101pushd
     102cd "%GSDLHOME%"
    100103if exist ext (
    101104    for /D %%e IN ("ext/*") do (
    102         cd ext\%%e
     105        cd "ext\%%e"
    103106        if EXIST setup.bat call setup.bat
    104         cd ..\..
     107        cd "%GSDLHOME%"
    105108    )
    106109)
     110popd
     111
    107112setlocal enabledelayedexpansion
    108 
     113pushd
     114cd "%GSDLHOME%"
    109115if exist apache-httpd (
    110116  echo +Adding in executable path for apache-httpd
     
    123129  set PATH=!GSDLHOME!\local\bin;!PATH!
    124130)
     131popd
    125132
    126133:: test writability of GSDLHOME
    127134@call "!GSDLHOME!\bin\script\checkwritability.bat"
    128 popd
    129 
    130135endlocal & set PATH=%PATH%& set GSDLHOME=%GSDLHOME%& set GSDLOS=%GSDLOS%
Note: See TracChangeset for help on using the changeset viewer.