aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/b.cxx')
-rw-r--r--build/b.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/b.cxx b/build/b.cxx
index 36d0b21..7280ecb 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -211,7 +211,7 @@ main (int argc, char* argv[])
const location l ("<buildspec>", 1, 0); //@@ TODO
if (os.empty ()) // Default target: dir{}.
- os.push_back (targetspec (name ("dir", dir_path (), string ())));
+ os.push_back (targetspec (name ("dir", string ())));
operation_id oid (0); // Not yet translated.
const operation_info* oif (nullptr);
@@ -265,7 +265,7 @@ main (int argc, char* argv[])
// Otherwise, if this is a simple name, see if there is a
// directory part in value.
//
- else if (tn.type.empty ())
+ else if (tn.untyped ())
{
// We cannot assume it is a valid filesystem name so we
// will have to do the splitting manually.