]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Set ccache paths using the "regular" mechanism
authorAlexander Barton <alex@barton.de>
Fri, 22 Apr 2011 20:00:00 +0000 (22:00 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 22 Apr 2011 20:00:00 +0000 (22:00 +0200)
sys/bashrc
sys/profile

index a49c425e5584a642ebbf114a8e00bc4f3f832039..ea8077014500a57e2bd4eecf6c78f43f3f57fc3b 100644 (file)
@@ -142,14 +142,6 @@ fi
 # less(1) filter, if available
 type -p lesspipe >/dev/null 2>&1 && eval `lesspipe`
 
-# Initialize ccache(1), if installed
-if [ -d "/usr/lib/ccache" ]; then
-       PATH="/usr/lib/ccache:$PATH"
-       # Set the cache directory to local storage, if available
-       [ -w "/usr/local/home/$USER" ] \
-               && export CCACHE_DIR="/usr/local/home/$USER/.ccache"
-fi
-
 # Setup slrn(1) and cleanscore(1), if installed
 type -p cleanscore >/dev/null 2>&1
 [ $? -eq 0 ] && alias slrn="cleanscore -f ~/.slrnscore && slrn"
index 7813210f38c3f8fa0164d7dcc6871a2d28cad00b..7471952b9e53080de3c7cc178d3b58ca590abc60 100644 (file)
@@ -29,7 +29,7 @@ else
 fi
 # prepend optional directories to PATH ...
 path=""
-for d in /Developer/usr/bin /usr/pkg/bin /opt/*/bin; do
+for d in /Developer/usr/bin /usr/pkg/bin /usr/lib/ccache /opt/*/bin; do
        [ -d "$d" -o -h "$d" ] && path="$path$d:"
 done
 [ -n "$path" ] && PATH="$path$PATH"