Bash if statement [: missing `]' error 54 line (#174)

Added space
This commit is contained in:
localsnet 2017-09-20 13:44:15 +03:00 committed by Kyâne Pichou
parent d05077c3db
commit 250f9e3185

View File

@ -51,7 +51,7 @@ if [ "$1" = 'platform' ]; then
echo "Using existing config file" $MM_CONFIG
fi
if [ -z "$MM_SQLSETTINGS_DATASOURCE"]
if [ -z "$MM_SQLSETTINGS_DATASOURCE" ]
then
echo -ne "Configure database connection..."
export MM_SQLSETTINGS_DATASOURCE="postgres://$MM_USERNAME:$MM_PASSWORD@$DB_HOST:$DB_PORT_NUMBER/$MM_DBNAME?sslmode=disable&connect_timeout=10"