From 6489a8f680dab4fa029900d8fd7e25c8b5ae57b4 Mon Sep 17 00:00:00 2001 From: hyokeun Date: Mon, 17 Dec 2018 14:04:31 +0900 Subject: [PATCH] Inject tidlc path --- build.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.template b/build.template index 84ddb56..2ce886e 100644 --- a/build.template +++ b/build.template @@ -60,6 +60,10 @@ if [[ ! $rs_list =~ [0-9]{8}_[0-9] ]]; then echo ${rs_list}.${dateversion} > $SHARE_ROOT/rsver fi +# Inject tidlc path +TIDLC_PATH=`sed -n '/tidl/p' /home/build/.bashrc | cut -f2 -d':'` +if [ ! -z ${TIDLC_PATH} ]; then echo "PATH=\$PATH:${TIDLC_PATH}" >> /home/build/.profile; fi + for rs in $rs_list; do echo "BUILDING START TIME: `date`" #if [[ $rs == *"64.core"* ]]; then -- 2.7.4