Whats wrong with this script, somehow it is not picking up the correct values for choice... It gives me the message
./run.ftp[26]: [y==y]: not found
echo "Enter the version no for the VZevpsrc release \n"
read VERSION
echo "The VERSION no you entered is $VERSION\n"
echo "Is this correct. Type (y/n)"
read choice
if ["$choice"==y]
then
echo "The VERSION no you confirmed is $VERSION\n"
else
echo "Enter the version no for the VZevpsrc release \n"
read VERSION
echo "The VERSION no you confirmed is $VERSION\n"
fi
./run.ftp[26]: [y==y]: not found
echo "Enter the version no for the VZevpsrc release \n"
read VERSION
echo "The VERSION no you entered is $VERSION\n"
echo "Is this correct. Type (y/n)"
read choice
if ["$choice"==y]
then
echo "The VERSION no you confirmed is $VERSION\n"
else
echo "Enter the version no for the VZevpsrc release \n"
read VERSION
echo "The VERSION no you confirmed is $VERSION\n"
fi