install ccache into path if it exists

This commit is contained in:
Brian West 2015-10-04 12:38:04 -05:00
parent 5b7c10d548
commit 5762955ff9
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ export UNAME=`uname -s`
if [ "`id -u`" = "0" ]; then
if [ "${UNAME}" = "Linux" ]; then
if [ -d /usr/lib/ccache ]; then
export PATH="/usr/lib/ccache:$PATH"
fi
export PATH="$PATH:/opt/bin:/usr/local/bin:/usr/local/sbin:/usr/local/freeswitch/bin"
if [ -d /usr/src/freeswitch.git/support-d/utils ]; then
export PATH="/usr/src/freeswitch.git/support-d/utils:$PATH"