diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-14 14:20:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-14 14:20:00 +0200 |
commit | 0736a7b0cb90b83895af6a11ae0158f2adcce321 (patch) | |
tree | cfbba455a26e0970b1ec13d78f67ae2ac15eb72a /bpkg/pkg-command.cxx | |
parent | 2a1e0a68979db77b3c4951ac15d6abcf68d5780d (diff) |
Update all packages at once in pkg-build
Diffstat (limited to 'bpkg/pkg-command.cxx')
-rw-r--r-- | bpkg/pkg-command.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index 088ad9c..c225bc1 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -18,30 +18,6 @@ namespace bpkg pkg_command (const string& cmd, const dir_path& c, const common_options& o, - const shared_ptr<selected_package>& p) - { - tracer trace ("pkg_command"); - - level4 ([&]{trace << "command: " << cmd;}); - - assert (p->state == package_state::configured); - assert (p->out_root); // Should be present since configured. - - dir_path out_root (c / *p->out_root); // Always relative. - level4 ([&]{trace << "out_root: " << out_root;}); - - // Form the buildspec. - // - string bspec (cmd + "(" + out_root.string () + "/)"); - level4 ([&]{trace << "buildspec: " << bspec;}); - - run_b (o, bspec); - } - - void - pkg_command (const string& cmd, - const dir_path& c, - const common_options& o, const strings& cvars, const vector<pkg_command_vars>& ps) { |