Inject tidlc path
authorhyokeun <hyokeun.jeon@samsung.com>
Mon, 17 Dec 2018 05:04:31 +0000 (14:04 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Mon, 17 Dec 2018 05:04:31 +0000 (14:04 +0900)
build.template

index 84ddb56..2ce886e 100644 (file)
@@ -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