Ignore:
Timestamp:
2016-06-24T15:50:39+12:00 (8 years ago)
Author:
ak19
Message:

Further changes to make sure recent updates to batch scripts still protect spaces in filepath

Location:
main/trunk/greenstone3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/gs3-server.bat

    r30574 r30592  
    1717
    1818set USE_TMPDIR_FOR_TOMCAT=
    19 for /F "tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do (
     19for /F "usebackq tokens=1,2 delims==" %%G in ("%GSDL3SRCHOME%\build.properties") do (
    2020    if "%%G"=="gsdl3home.isreadonly" set USE_TMPDIR_FOR_TOMCAT=%%H
    2121)
  • main/trunk/greenstone3/gs3-setup.bat

    r30574 r30592  
    4040:: Replace forward slashes in web.home with back slashes
    4141:: http://scripts.dragon-it.co.uk/scripts.nsf/docs/batch-search-replace-substitute!OpenDocument&ExpandSection=3&BaseTarget=East&AutoFramed
    42 if exist "!GSDL3SRCHOME!\build.properties" for /F "tokens=1,2 delims==" %%G in (!GSDL3SRCHOME!\build.properties) do (
     42if exist "!GSDL3SRCHOME!\build.properties" for /F "usebackq tokens=1,2 delims==" %%G in ("!GSDL3SRCHOME!\build.properties") do (
    4343    if "%%G"=="web.home" (
    4444        set GSDL3HOME=%%H
Note: See TracChangeset for help on using the changeset viewer.