]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Fix test for "ccache". Oops.
authorAlexander Barton <alex@barton.de>
Thu, 24 Apr 2014 14:14:25 +0000 (16:14 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 24 Apr 2014 14:14:25 +0000 (16:14 +0200)
sys/profile

index cd69ef91b0be10e74c700df398e9060e71941f18..368d07e62d98093aa631780960500dc90cc124e9 100644 (file)
@@ -114,7 +114,7 @@ export HOSTNAME
 export XDG_CACHE_HOME="$LOCAL_HOME/.cache"
 
 # Setup environment for ccache, if installed
-type -t ccache 2>/dev/null && export CCACHE_DIR="$XDG_CACHE_HOME/ccache"
+type -t ccache >/dev/null && export CCACHE_DIR="$XDG_CACHE_HOME/ccache"
 
 # Setup environment for Python "pip", if installed
 if [ "$(type -t pip 2>/dev/null)" ]; then