try double quotes

This commit is contained in:
ducoterra
2018-11-25 17:33:51 -05:00
parent 54df19f71a
commit f3b2e4b787

View File

@@ -14,15 +14,15 @@ fi
# source vars
source vars
if [ $user == "" ] ; then
if [[ $user == "" ]] ; then
echo -e "User missing from vars."
exit 1
fi
if [ $projectname == "" ] ; then
if [[ $projectname == "" ]] ; then
echo -e "Project Name missing from vars."
exit 1
fi
if [ $hostname == "" ] ; then
if [[ $hostname == "" ]] ; then
echo -e "Hostname missing from vars."
exit 1
fi