Changeset 2157

Show
Ignore:
Timestamp:
04/18/08 01:04:26 (1 month ago)
Author:
anarcat
Message:

use the proper variable for database user replacement. Closes: #1124

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/install/alternc.install

    r2132 r2157  
    9191    # * convert mysql variables into our MYSQL_ naming convention (;s) 
    9292    # * print the result (;p) 
    93     eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_LOGIN/;s/password/MYSQL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my.cnf` 
     93    eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_USER/;s/password/MYSQL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my.cnf` 
    9494fi 
    9595