Hi
I am wrote the following script in korn shell and its not working.
export PLATFORM=ssunos5
export ROOT=`pwd`
export MAKEFILE=$ROOT/config/$PLATFORM/sample.mk
if (! -e $MAKEFILE) then
echo ""
echo "ERROR: "
echo ""
else
export INI=$ROOT/config/$PLATFORM/set.ini
echo "Platform: $PLATFORM"
echo " Root: $ROOT"
echo "Makefile: $MAKEFILE"
echo " INI: $INI"
echo ""
fi
=============
when I run this script I get the following error
ksh: -a: not found
I tried using -e also instead of -a that also didn't help any help on
this will be highly appreciated.
Sanjeev