Changeset 2132


Ignore:
Timestamp:
04/14/08 05:22:10 (5 years ago)
Author:
anarcat
Message:

fix mysql.cnf regexp for a last time, i hope

Location:
alternc/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/debian/config

    r2130 r2132  
    4747    # * convert mysql variables into our MYSQL_ naming convention (;s) 
    4848    # * print the result (;p) 
    49     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` 
     49    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` 
    5050fi 
    5151 
  • alternc/trunk/install/alternc.install

    r2131 r2132  
    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_LOGIN/;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.