diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh index d7d23f46eefe3e4908c154c35f056609c28d35a0..16483b8aa80bb5d47164aa1988a7d5317fedb166 100755 --- a/distro/scripts/adl_cots.sh +++ b/distro/scripts/adl_cots.sh @@ -548,6 +548,7 @@ all() adl() { echo ${FUNCNAME[0]} + export PATH=/CSPP_SDR_4_0/JAVA_COTS/jdk1.8.0_73/bin/:$PATH which java which python3 cd ${BUILD} @@ -563,18 +564,17 @@ adl() ls ${COTSBASE} && \ echo "ADL_HOME" ${ADL_HOME} && \ ls ${ADL_HOME} && \ - export ADL_INSTALL=${ADL_HOME} && \ -# ln -s /usr/bin/python3 /usr/libexec//bin/python3 -cd ${ADL_HOME} && / - export PATH=${ADL_HOME}/bin:/usr/libexec/bin:$PATH && / - source build/envSetup.sh && / - export COTS_PYTHON=/usr/libexec/ && / + ln -s /usr/bin/python3 /usr/local//bin/python3 && \ + cd ${ADL_HOME} && \ + export PATH=${ADL_HOME}/bin:/usr/libexec/bin:$PATH && \ + source build/envSetup.sh && \ + export COTS_PYTHON=/usr/libexec/ && \ ./buildAdl.sh 2>&1 | tee ${COTS_HOME}/build_adl.log } if [ "$1" == "all" ] ; then - wipe + all else adl