]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
install ccache into path if it exists
authorBrian West <brian@freeswitch.org>
Sun, 4 Oct 2015 17:38:04 +0000 (12:38 -0500)
committerBrian West <brian@freeswitch.org>
Sun, 4 Oct 2015 17:38:04 +0000 (12:38 -0500)
support-d/.bashrc

index 4b21b517dac21d28e36d2c8c6bf62f82544fdea7..4b917c3b5c82b4db136f75c4e629b49688210731 100644 (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"