Changeset 25385

Show
Ignore:
Timestamp:
16.04.2012 17:02:37 (8 years ago)
Author:
ak19
Message:

Changes for linux to process installer input for admin password.

Files:
1 modified

Legend:

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

    r25329 r25385  
    340340        <echo>Creating admin user</echo> 
    341341        <!--<echo>Creating admin and demo users</echo>--> 
     342        <!-- if windows --> 
    342343        <exec dir="${installDir}" executable="cmd.exe"> 
    343344          <arg line="/c echo ${admin.password}| ant config-admin"/> 
    344345        </exec> 
     346        <!-- /if --> 
     347        <!-- if linux|mac --> 
     348        <exec dir="${installDir}" executable="echo"> 
     349          <arg line="${admin.password}| ant config-admin"/> 
     350        </exec> 
     351        <!-- /if -->         
    345352        <!--<adduser txt2db="org.greenstone.gsdl3.util.ChangePwdUsersDB" 
    346353            usersDb="${installDir}/web/sites/localsite/etc/usersDB"