Fix ccache PATH on Manjaro
This commit is contained in:
parent
9854518c76
commit
4252d06e65
7
zshenv
7
zshenv
@ -23,9 +23,12 @@ INFOPATH=$HOME/.local/share/info:$INFOPATH
|
|||||||
if [ `uname` = Darwin ]; then
|
if [ `uname` = Darwin ]; then
|
||||||
[ -f /usr/local/bin/ccache ] && \
|
[ -f /usr/local/bin/ccache ] && \
|
||||||
PATH=/usr/local/opt/ccache/libexec:$PATH
|
PATH=/usr/local/opt/ccache/libexec:$PATH
|
||||||
else
|
elif [ -f /usr/bin/ccache ]; then
|
||||||
[ -f /usr/bin/ccache ] && \
|
if [ -d /usr/lib/ccache/bin ]; then
|
||||||
|
PATH=/usr/lib/ccache/bin:$PATH
|
||||||
|
elif [ -d /usr/lib/ccache ]; then
|
||||||
PATH=/usr/lib/ccache:$PATH
|
PATH=/usr/lib/ccache:$PATH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove duplicates from environment variables
|
# Remove duplicates from environment variables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user