diff --git a/cash.sh b/cash.sh index 4c0bd64..aef7e78 100644 --- a/cash.sh +++ b/cash.sh @@ -4,8 +4,7 @@ _try_cc() { local infile infile=$(mktemp --suffix .c) cat > "$infile" - ccache hash_dir=false \ - "${CC:-cc}" -o "$out" "$infile" "$@" + CCACHE_NOHASHDIR=1 ccache "${CC:-cc}" -o "$out" "$infile" "$@" code=$? rm "$infile" || : return $?