compile forms in Linux
Hi,
I created and run a compilation script for compiling forms in Linux but failed with error message:
"syntax error near unexpected token `do"
Here is my script:
#compile_forms.sh
for i in `ls $2.fmb`
do
echo Compiling Form $i ....
$ORACLE_INSTANCE/bin/frmcmp_batch.sh userid=$1 batch=yes module=$i module_type=form compile_all=yes window_state=minimize
done
run it:
$ chmod +x compile_forms.sh
$ sh ./compile_forms.sh
I created and compiled the forms in Win OS and tried to recompile them in Linux OS. I am new to Linux system.
any suggestion and idea about this is very appreciated.