From: Joel Rosdahl Date: Sat, 16 Jul 2011 15:34:50 +0000 (+0200) Subject: config: Use hash_dir from conf struct X-Git-Tag: v3.2~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab81449ac4b25db17edfa111183a7bb713e3af2f;p=thirdparty%2Fccache.git config: Use hash_dir from conf struct --- 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");