From 25fbe62acc8ed4470de10bb301072686cb286366 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Feb 2003 01:46:15 +0100 Subject: [PATCH] hard links off by default --- ccache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ccache.c b/ccache.c index c670ae1de..26d834a60 100644 --- a/ccache.c +++ b/ccache.c @@ -421,10 +421,10 @@ static void from_cache(int first) ret = 0; } else { unlink(output_file); - if (getenv("CCACHE_NOLINK")) { - ret = copy_file(hashname, output_file); - } else { + if (getenv("CCACHE_HARDLINK")) { ret = link(hashname, output_file); + } else { + ret = copy_file(hashname, output_file); } } -- 2.47.2