*/etc/ccache.conf* or */usr/local/etc/ccache.conf*).
4. Compile-time defaults.
-As a special case, if the environment variable *CCACHE_CONFIG_PATH* is set,
+As a special case, if the environment variable *CCACHE_CONFIGPATH* is set,
ccache reads configuration from the specified path instead of the default
paths.
conf_free(conf);
conf = conf_create();
- p = getenv("CCACHE_CONFIG_PATH");
+ p = getenv("CCACHE_CONFIGPATH");
if (p) {
primary_config_path = x_strdup(p);
} else {
upgrade_suite() {
testname="keep maxfiles and maxsize settings"
- rm -rf $CCACHE_DIR $CCACHE_CONFIG_PATH
+ rm -rf $CCACHE_DIR $CCACHE_CONFIGPATH
mkdir -p $CCACHE_DIR/0
echo "0 0 0 0 0 0 0 0 0 0 0 0 0 2000 131072" >$CCACHE_DIR/0/stats
checkstat 'max files' 32000
export CCACHE_DIR
CCACHE_LOGFILE=`pwd`/ccache.log
export CCACHE_LOGFILE
-CCACHE_CONFIG_PATH=`pwd`/ccache.conf
-export CCACHE_CONFIG_PATH
-touch $CCACHE_CONFIG_PATH
+CCACHE_CONFIGPATH=`pwd`/ccache.conf
+export CCACHE_CONFIGPATH
+touch $CCACHE_CONFIGPATH
# ---------------------------------------