sourcing /awips2/ant in awips2.sh for build
This commit is contained in:
parent
33adcaac0c
commit
85eec5d972
1 changed files with 14 additions and 0 deletions
|
@ -124,3 +124,17 @@ fi
|
|||
if [ -d /awips2/yajsw/lib/core/jna/com/sun/jna ]; then
|
||||
export LD_LIBRARY_PATH=/awips2/yajsw/lib/core/jna/com/sun/jna/linux-amd64:$LD_LIBRARY_PATH
|
||||
fi
|
||||
if [ -d /awips2/ant ]; then
|
||||
# Determine Where Ant Has Been Installed.
|
||||
ANT_INSTALL=/awips2/ant
|
||||
|
||||
# Update The Environment.
|
||||
export ANT_HOME="${ANT_INSTALL}"
|
||||
# Determine If Ant Is Already Part Of The Path.
|
||||
CHECK_PATH=`echo ${PATH} | grep ${ANT_INSTALL}`
|
||||
if [ ! "${CHECK_PATH}" = "" ]; then
|
||||
return
|
||||
fi
|
||||
# Ant Is Not In The Path; Add It To The Path.
|
||||
export PATH="${ANT_INSTALL}/bin:${PATH}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue