Changeset 2157


Ignore:
Timestamp:
04/18/08 01:04:26 (5 years ago)
Author:
anarcat
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.