aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-08-05 14:53:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-08-05 14:53:27 +0000
commitae1a1efa410fa66a0afbfae25ad423feee4b1e77 (patch)
tree8d9b3a7deb905f9df038e38a046000bbb0fdaa60 /src/libstore
parentd8989b1fb482fc7b6f29945e5c3b8bb197f4539c (diff)
* Clean up the temporary directory for hook communication (and don't
print out incorrect "build failed" messages).
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/normalise.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc
index 877478370..309c1777f 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 */
}