aboutsummaryrefslogtreecommitdiff
path: root/src/fstate.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-09 16:12:40 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-09 16:12:40 +0000
commit6011bd0da24c100f86239ed826fa7b496bbdddf8 (patch)
treea97710dbe6f7cacc871443df24fab0b00fbda5e3 /src/fstate.cc
parent2b95a9dc05d0a943859ba92bb301c294473758f1 (diff)
* Outline of the new scheme for derivate distribution.
Diffstat (limited to 'src/fstate.cc')
-rw-r--r--src/fstate.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fstate.cc b/src/fstate.cc
index 2f0e50fb2..e289ca7b1 100644
--- a/src/fstate.cc
+++ b/src/fstate.cc
@@ -250,6 +250,10 @@ static FState realise(FState fs, StringSet & paths)
/* Register the normal form. */
nf = storeSuccessor(fs, nf, paths);
+ /* Expand the hash into the target path. */
+ expandHash(hash, path);
+
+#if 0
/* Perhaps the path already exists and has the right hash? */
if (pathExists(path)) {
@@ -267,6 +271,7 @@ static FState realise(FState fs, StringSet & paths)
copyPath(path2, path);
}
+#endif
return nf;
}