fix string comparison

This commit is contained in:
ducoterra
2018-11-25 17:24:51 -05:00
parent 7e37fba048
commit ebab968766

View File

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