Correct CARTO_HOSTNAME setter

This commit is contained in:
Stefan Verhoeven 2018-06-22 11:22:59 +02:00
parent 5e721f0cac
commit b9efc49137

View File

@ -1,6 +1,6 @@
#!/bin/bash
CARTO_HOSTNAME = ${CARTO_HOSTNAME:=$HOSTNAME}
export CARTO_HOSTNAME=${CARTO_HOSTNAME:=$HOSTNAME}
perl -pi -e 's/cartodb\.localhost/$ENV{"CARTO_HOSTNAME"}/g' /etc/nginx/sites-enabled/default /cartodb/config/app_config.yml /Windshaft-cartodb/config/environments/development.js