From d464a8b279a76af3cf9877fd40f39cd10d0cabcd Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Thu, 10 Jul 2014 18:10:04 +0530 Subject: [PATCH] Fixed ee.conf issue --- bin/eeupdate | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/eeupdate b/bin/eeupdate index c7d3ea2f..f3c35da3 100644 --- a/bin/eeupdate +++ b/bin/eeupdate @@ -175,13 +175,13 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then read -p "Enter email address: " ee_wp_email # Update value in ee.conf file - $EE_CONFIG_SET stack.ip-address $ee_stack_ip && \ - $EE_CONFIG_SET auth.user $ee_auth_user && \ - $EE_CONFIG_SET auth.password $ee_auth_pass && \ - $EE_CONFIG_SET mysql.host $ee_mysql_host && \ - $EE_CONFIG_SET wordpress.user $ee_wp_user && \ - $EE_CONFIG_SET wordpress.password $ee_wp_pass && \ - $EE_CONFIG_SET wordpress.email $ee_wp_email \ + $EE_CONFIG_SET stack.ip-address "$(echo -n $ee_stack_ip)" && \ + $EE_CONFIG_SET auth.user "$(echo -n $ee_auth_user)" && \ + $EE_CONFIG_SET auth.password "$(echo -n $ee_auth_pass)" && \ + $EE_CONFIG_SET mysql.host "$(echo -n $ee_mysql_host)" && \ + $EE_CONFIG_SET wordpress.user "$(echo -n $ee_wp_user)" && \ + $EE_CONFIG_SET wordpress.password "$(echo -n $ee_wp_pass)" && \ + $EE_CONFIG_SET wordpress.email "$(echo -n $ee_wp_email)" \ || ee_lib_error "Unable to update ee.conf file, exit status = " $? # NGINX conf.d @@ -386,4 +386,4 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then fi else ee_lib_echo "Latest version ($EE_CURRENT_VERSION) already installed" -fi \ No newline at end of file +fi