Ignore:
Timestamp:
04/15/10 19:17:41 (11 years ago)
Author:
ak19
Message:

GSDLHOME in gsdlsite.cfg only to be embedded in quotes there are spaces in the filepath.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/installer/build.xml

    r21818 r21885  
    125125        <echo>Filling in concrete values in config files</echo>
    126126        <copy file="${installDir}/cgi-bin/gsdlsite.cfg.in" tofile="${installDir}/cgi-bin/gsdlsite.cfg"/>
    127         <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="&quot;?\*\*GSDLHOME\*\*&quot;?" replacement="&quot;${installDir.local}&quot;"/>
     127                <!-- spaces around GSDLHOME filepath only if needed -->
     128                <if><bool><contains string="${installDir.local}" substring=" "/></bool>
     129                          <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="&quot;?\*\*GSDLHOME\*\*&quot;?" replacement="&quot;${installDir.local}&quot;"/>
     130                <else>
     131                          <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="&quot;?\*\*GSDLHOME\*\*&quot;?" replacement="${installDir.local}"/>
     132                </else>
     133                </if>
    128134
    129135        <echo>Correcting perl shebangs in perl scripts</echo>
Note: See TracChangeset for help on using the changeset viewer.