aboutsummaryrefslogtreecommitdiff
path: root/src/fix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix.cc')
-rw-r--r--src/fix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fix.cc b/src/fix.cc
index ef3570334..83e25d142 100644
--- a/src/fix.cc
+++ b/src/fix.cc
@@ -268,7 +268,7 @@ static Expr evalExpr2(EvalState & state, Expr e)
elem.id = id;
FState fs;
fs.type = FState::fsSlice;
- fs.slice.roots.push_back(id);
+ fs.slice.roots.push_back(dstPath);
fs.slice.elems.push_back(elem);
Hash pkgHash = hashPackage(state, fs);