From 1d81e1d3ed3a0e478ca7ef4565aea93fba2ea15b Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 11 Jul 2014 18:48:52 +0530 Subject: [PATCH] Fix readonly variable --- src/lib/ee_lib_variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ee_lib_variables.sh b/src/lib/ee_lib_variables.sh index d757e8a9..6729c0de 100644 --- a/src/lib/ee_lib_variables.sh +++ b/src/lib/ee_lib_variables.sh @@ -15,8 +15,8 @@ readonly EE_ERROR_LOG=/var/log/easyengine/error.log readonly EE_LINUX_DISTRO=$(lsb_release -i |awk '{print $3}') readonly EE_CONFIG_GET=$(echo "git config --file /etc/easyengine/ee.conf") readonly EE_CONFIG_SET=$(echo "git config --file /etc/easyengine/ee.conf" --replace-all) -readonly EE_IP_ADDRESS=$($EE_CONFIG_GET stack.ip-address | cut -d'=' -f2 | sed 's/ //g' | tr ',' '\n') readonly EE_APT_GET=$($EE_CONFIG_GET stack.apt-get-assume-yes | grep -i true &> /dev/null && echo apt-get -y || echo apt-get) +EE_IP_ADDRESS=$($EE_CONFIG_GET stack.ip-address | cut -d'=' -f2 | sed 's/ //g' | tr ',' '\n') # Distribution specific variable if [ "$EE_LINUX_DISTRO" == "Ubuntu" ]; then