From ab81449ac4b25db17edfa111183a7bb713e3af2f Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 16 Jul 2011 17:34:50 +0200 Subject: [PATCH] config: Use hash_dir from conf struct --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index f6bf79b20..0deaaf42b 100644 --- a/ccache.c +++ b/ccache.c @@ -899,7 +899,7 @@ calculate_common_hash(struct args *args, struct mdfour *hash) hash_string(hash, basename(args->argv[0])); /* Possibly hash the current working directory. */ - if (getenv("CCACHE_HASHDIR")) { + if (conf->hash_dir) { char *cwd = gnu_getcwd(); if (cwd) { hash_delimiter(hash, "cwd"); -- 2.47.3