Changeset 23650 for main


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.

Location:
main/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/gli.bat

    r22575 r23650  
    11@echo off
    22color 0A
    3 pushd "%CD%"
     3set startdir=%CD%
     4rem pushd "%CD%"
    45CD /D "%~dp0"
    56set GLILANG=en
     
    7172    if "%1" == "Elevated" shift
    7273
     74:: Make sure we're in the GLI folder, even if located outside a GS installation
     75CD /D "%~dp0"
     76
    7377:findPerl
    7478:: Now need to find Perl. If found, PERLPATH will be set
     
    192196pause
    193197color 07
    194 popd
     198rem popd
    195199
    196200:done
     
    204208set PROGABBR=
    205209color 07
    206 popd
     210rem popd
     211cd "%startdir%"
     212set startdir=
  • 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.