Hi guys, please help me on this, I couldn't figure out:
I have defined build.sh file like the following
-------------------------------------
JAVA_HOME="/bea/jdk141_05"
export JAVA_HOME
PATH="/home/mm/ant/bin:/bea/jdk141_05/bin"
export PATH
ant $1
--------------------------------------------
but when I ran build.sh(on unix), I got following error:
-----------------------------------------------
$ ./build.sh
/home/mm/ant/bin/ant: uname: not found
/home/mm/ant/bin/ant: basename: not found
/home/mm/ant/bin/ant: dirname: not found
/home/mm/ant/bin/ant: null directory
-----------------------------------------------
anyone know the reason?
thanks a lot for the help!!!
I have defined build.sh file like the following
-------------------------------------
JAVA_HOME="/bea/jdk141_05"
export JAVA_HOME
PATH="/home/mm/ant/bin:/bea/jdk141_05/bin"
export PATH
ant $1
--------------------------------------------
but when I ran build.sh(on unix), I got following error:
-----------------------------------------------
$ ./build.sh
/home/mm/ant/bin/ant: uname: not found
/home/mm/ant/bin/ant: basename: not found
/home/mm/ant/bin/ant: dirname: not found
/home/mm/ant/bin/ant: null directory
-----------------------------------------------
anyone know the reason?
thanks a lot for the help!!!