summaryrefslogtreecommitdiff
path: root/package/tidlc.install.macos
blob: 0f5b6fe868dad6c00558dcd121a63ef55471607c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -ex

s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`

if [ "x${s}" = "x" ] ; then
    cat >> ${HOME}/.bashrc << END
## Tizen SDK configuration
# This is generated by Tizen SDK. Please do not modify by yourself.
export PATH=\$PATH:${INSTALLED_PATH}/platform/tizen-5.0/common/tidl
## End Tizen SDK configuration
END
fi

source ${HOME}/.bashrc

exit 0