double quotes to expand $DB_TYPE

This commit is contained in:
Cabillot Julien 2017-10-15 02:29:59 +02:00
parent 552f7270e5
commit 64850ca55a

View File

@ -8,7 +8,7 @@
ename='DB'; ename='DB';
eport=5432; eport=5432;
if [ '$DB_TYPE' = 'mysql' ]; if [ "$DB_TYPE" = 'mysql' ];
then then
eport=3306; eport=3306;
dbhost=$DB_PORT_3306_TCP_ADDR dbhost=$DB_PORT_3306_TCP_ADDR