Ignore:
Timestamp:
2011-04-28T16:56:34+12:00 (13 years ago)
Author:
ak19
Message:

Minor fixes to gems.app and the recent changes to gsicontrol.bat regarding replacing the GSDLHOME placeholder string

Location:
main/trunk/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gems.app/Contents/document.wflow.in

    r23963 r23964  
    5656                <dict>
    5757                    <key>COMMAND_STRING</key>
    58                     <string>cd **GSDLHOME**/gli/
    59 ./gems.sh</string>
     58                    <string>**GSDLHOME**/gli/gems.sh</string>
    6059                    <key>CheckedForUserDefaultShell</key>
    6160                    <true/>
  • main/trunk/greenstone2/gsicontrol.bat

    r23963 r23964  
    1515:: Construct the signal using the unique GS2 installation
    1616:: directory (after replacing spaces, colons and backslashes)
     17if "%GSDLHOME%" == "" goto testgsdl
    1718set signal=%GSDLHOME: =_%
    1819for /F "delims=*" %%T in ('"echo %signal%| bin\windows\sed.exe s@[\\:]@_@g"') do set signal=%%T
     
    179180for /F "delims=*" %%T in ('"echo %GSDLHOME%| bin\windows\sed.exe s@\\@\/@g"') do set safepath=%%T
    180181
    181 type "gs2-server.app/Contents/document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gs2-server.app/Contents/document.wflow"
    182 type "gli.app/Contents/document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gli.app/Contents/document.wflow"
    183 type "client-gli.app/Contents/document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "client-gli.app/Contents/document.wflow"
    184 type "gems.app/Contents/document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gems.app/Contents/document.wflow"
     182type "gs2-server.app\Contents\document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gs2-server.app\Contents\document.wflow"
     183type "gli.app\Contents\document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gli.app\Contents\document.wflow"
     184type "client-gli.app\Contents\document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "client-gli.app\Contents\document.wflow"
     185type "gems.app\Contents\document.wflow.in" | %_sed% "s@\*\*GSDLHOME\*\*@%safepath%@g" > "gems.app\Contents\document.wflow"
    185186
    186187goto cfgweb
Note: See TracChangeset for help on using the changeset viewer.