From 1b1d1434539c4c198caab4f3a45ade9e6827427b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Apr 2016 09:17:48 +0200 Subject: Revert back to using root scope in src_out()/out_src() Relaxing it to base was not wise since we can have "sideways" prerequisites (those from parallel directories such as brep's ../web/*). --- build2/b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/b.cxx') diff --git a/build2/b.cxx b/build2/b.cxx index dcf2cfe..1377d5b 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -879,7 +879,7 @@ main (int argc, char* argv[]) // Figure out if this target is in the src tree. // dir_path out (ts.out_base != ts.src_base && d.sub (ts.src_base) - ? out_src (d, ts.out_base, ts.src_base) + ? out_src (d, rs) : dir_path ()); mif->search (rs, target_key {ti, &d, &out, &tn.value, e}, l, tgs); -- cgit v1.1