diff options
Diffstat (limited to 'build/path.txx')
-rw-r--r-- | build/path.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/path.txx b/build/path.txx index 881dc17..5fbabbd 100644 --- a/build/path.txx +++ b/build/path.txx @@ -58,7 +58,7 @@ namespace build basic_path<C>& basic_path<C>:: operator/= (basic_path<C> const& r) { - if (r.absolute ()) + if (r.absolute () && !path_.empty ()) // Allow ('' / '/foo'). throw invalid_basic_path<C> (r.path_); if (path_.empty () || r.path_.empty ()) |