]> arthur.ath.cx Git - ConfigScripts.git/blobdiff - sys/profile
Fix test for "ccache". Oops.
[ConfigScripts.git] / 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