From 4f2947d63db620771c89739b3d9a62196be8efcc Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Sun, 29 Dec 2024 22:55:26 +0300 Subject: [PATCH] backwards compatible --- cash.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 $?