Skip to content

Commit

Permalink
Renamed CCACHE_CONFIG_PATH to CCACHE_CONFIGPATH for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosdahl committed Feb 22, 2012
1 parent 4870af9 commit c1790b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MANUAL.txt
Expand Up @@ -193,7 +193,7 @@ highest):
*/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.

Expand Down
2 changes: 1 addition & 1 deletion ccache.c
Expand Up @@ -2013,7 +2013,7 @@ initialize(void)
conf_free(conf);
conf = conf_create();

p = getenv("CCACHE_CONFIG_PATH");
p = getenv("CCACHE_CONFIGPATH");
if (p) {
primary_config_path = x_strdup(p);
} else {
Expand Down
8 changes: 4 additions & 4 deletions test.sh
Expand Up @@ -1856,7 +1856,7 @@ EOF

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
Expand Down Expand Up @@ -1927,9 +1927,9 @@ CCACHE_DIR=`pwd`/.ccache
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

# ---------------------------------------

Expand Down

0 comments on commit c1790b7

Please sign in to comment.