diff --git a/bin/install b/bin/install index 8a69a91d..28b30721 100644 --- a/bin/install +++ b/bin/install @@ -92,7 +92,7 @@ function ee_lib_check_fqdn() if [ "$EE_LINUX_DISTRO" == "Debian" ];then grep $EE_FQDN /etc/hosts &>> $EE_INSTALL_LOG if [ $? -ne 0 ]; then - sed -i '1i\127.0.0.1 $EE_FQDN' /etc/hosts \ + sed -i "1i\127.0.0.1 $EE_FQDN" /etc/hosts \ || ee_lib_error "Unable setup hostname = " $? fi /etc/init.d/hostname.sh start &>> $EE_INSTALL_LOG diff --git a/src/lib/ee_lib_check_fqdn.sh b/src/lib/ee_lib_check_fqdn.sh index 467082f3..00e26686 100644 --- a/src/lib/ee_lib_check_fqdn.sh +++ b/src/lib/ee_lib_check_fqdn.sh @@ -9,7 +9,7 @@ function ee_lib_check_fqdn() if [ "$EE_LINUX_DISTRO" == "Debian" ];then grep $EE_FQDN /etc/hosts &>> $EE_COMMAND_LOG if [ $? -ne 0 ]; then - sed -i '1i\127.0.0.1 $EE_FQDN' /etc/hosts \ + sed -i "1i\127.0.0.1 $EE_FQDN" /etc/hosts \ || ee_lib_error "Unable setup hostname = " $? fi /etc/init.d/hostname.sh start &>> $EE_COMMAND_LOG