diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-18 15:44:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-27 08:35:29 +0200 |
commit | 49c6210a1ae21b6722d513bd35ba90ee1fec3170 (patch) | |
tree | 217a90de6b38631844fe004e335aab0e44267d18 /libbuild2/build/script/script.cxx | |
parent | 5910fbb854d7aa957091aa48a248b2de239eb558 (diff) |
Integrate buildscript running into recipe default_action()
Diffstat (limited to 'libbuild2/build/script/script.cxx')
-rw-r--r-- | libbuild2/build/script/script.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/build/script/script.cxx b/libbuild2/build/script/script.cxx index eb5b78c..5dbd24c 100644 --- a/libbuild2/build/script/script.cxx +++ b/libbuild2/build/script/script.cxx @@ -33,12 +33,15 @@ namespace build2 // Set the $> variable. // { - value& v (assign (var_pool.insert<path> (">"))); + //@@ TODO + // + value& v (assign (var_pool.insert<string> (">"))); if (auto* t = pt.is_a<path_target> ()) - v = t->path (); + v = t->path ().string (); else - fail << "target " << pt << " is not path-based"; + //fail << "target " << pt << " is not path-based"; + v = pt.name; //@@ TMP } } |