Changeset 3375


Ignore:
Timestamp:
Jan 19, 2017, 2:01:50 PM (3 years ago)
Author:
mabarracus
Message:

fix perl quotes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-analytics-server/trunk/fuentes/debian/postinst

    r3372 r3375  
    4949    else
    5050        if [ -f "/etc/lliurex-analytics-server/config_db" ]; then
    51             USER=$(cat /etc/lliurex-analytics-server/config_db|perl -ne "/user=(.*)/i && print $1")
    52             PASS=$(cat /etc/lliurex-analytics-server/config_db|perl -ne "/pass=(.*)/i && print $1")
     51            USER=$(cat /etc/lliurex-analytics-server/config_db|perl -ne '/user=(.*)/i && print $1')
     52            PASS=$(cat /etc/lliurex-analytics-server/config_db|perl -ne '/pass=(.*)/i && print $1')
    5353            if [ -n "${USER}" -a -n "${PASS}" ]; then
    5454                RES=$(echo 'show tables;'|mysql -u${USER} -p${PASS} -s analytics 2>/dev/null)
Note: See TracChangeset for help on using the changeset viewer.