diff options
Diffstat (limited to 'build/context.cxx')
-rw-r--r-- | build/context.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/context.cxx b/build/context.cxx index 79753ec..f7c9650 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -43,8 +43,8 @@ namespace build // If work is a sub-path of {src,out}_root and this path is also a // sub-bath of it, then use '..' to form a relative path. // - if (work.sub (src_root) && p.sub (src_root) || - work.sub (out_root) && p.sub (out_root)) // @@ cache + if ((work.sub (src_root) && p.sub (src_root)) || + (work.sub (out_root) && p.sub (out_root))) // @@ cache return p.relative (work); return p; |