diff options
author | Shea Levy <shea@shealevy.com> | 2011-11-06T07·03+0000 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2011-11-06T07·03+0000 |
commit | 2ab29be70c99483dbd8cf12eece4d553c7f953f3 (patch) | |
tree | 3ccbc31f36887a0a900c1e0fc3b34ababb010187 /src/libexpr/primops.cc | |
parent | ca0d47a70c37999f8cc9c2e82c76661826cfd50a (diff) |
Fix faulty reversion of my changes to unsafeDiscardOutputDependency
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 70560302ea4c..09a653002f44 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -989,7 +989,7 @@ static void prim_unsafeDiscardOutputDependency(EvalState & state, Value * * args PathSet context2; foreach (PathSet::iterator, i, context) { Path p = *i; - p = "~" + string(p, 1); + if (p.at(0) == '=') p = "~" + string(p, 1); context2.insert(p); } |