[Type] Feature
[Module] Sub
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
#fi
## Set sbi, sdb's environment path
-cat >> ${HOME}/.bashrc << END
+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.
# Set sbi, sdb environment path
## End Tizen SDK configuration
END
+fi
+
source ${HOME}/.bashrc
exit 0
-