Show
Ignore:
Timestamp:
04/14/08 05:22:10 (8 months ago)
Author:
anarcat
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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