From ae1a1efa410fa66a0afbfae25ad423feee4b1e77 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Aug 2004 14:53:27 +0000 Subject: [PATCH] * Clean up the temporary directory for hook communication (and don't print out incorrect "build failed" messages). --- src/libstore/normalise.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc index 8774783708..309c1777f7 100644 --- a/src/libstore/normalise.cc +++ b/src/libstore/normalise.cc @@ -818,6 +818,7 @@ void NormalisationGoal::terminateBuildHook() toHook.writeSide.close(); fdLogFile.close(); logPipe.readSide.close(); + deleteTmpDir(true); /* get rid of the hook's temporary directory */ }