summaryrefslogtreecommitdiff
path: root/package/tidlc.install.macos
blob: e21c951678055d4e4feb96e31ce8530d19e3b2ac (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}/platforms/tizen-5.0/common/tidl
## End Tizen SDK configuration
END
fi

source ${HOME}/.bashrc

exit 0