diff options
Diffstat (limited to 'libbuild2/script/script.cxx')
-rw-r--r-- | libbuild2/script/script.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/script/script.cxx b/libbuild2/script/script.cxx index 5a2eda3..9e8780e 100644 --- a/libbuild2/script/script.cxx +++ b/libbuild2/script/script.cxx @@ -633,7 +633,7 @@ namespace build2 const path& p (c.path); - if (sandbox_dir.empty () || !p.sub (sandbox_dir)) + if (!sandbox_dir.empty () && !p.sub (sandbox_dir)) { if (implicit) return; |