tuxmake does not respect default ccache CCACHE_DIR

By default ccache v4.10.2 has ccache in .cache/ccache (at least on Ubuntu 24.10, not Windows - important further).

tuxmake ignores it completely and sets up a new one in ~/.ccache, overriding existing default one. It seems it assumes CCACHE_DIR has a fixed value, but the man page:

On non-Windows systems, the default is $HOME/.ccache if such a directory exists, otherwise $XDG_CACHE_HOME/ccache if XDG_CACHE_HOME is set, otherwise $HOME/Library/Caches/ccache (macOS) or $HOME/.config/ccache (other systems).

tuxmake 1.29.3

$ cat ~/.config/tuxmake/default 
--wrapper=ccache
--build=out/
--verbose
$ printenv | grep CCACHE
USE_CCACHE=1
Edited by Krzysztof Kozlowski