aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dist/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-17 16:05:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-17 16:05:37 +0200
commit558a47dbbff97ed89808ceb0b040eccfada12974 (patch)
tree52b434cb73da7bab05b9b9563a5066423113d6e0 /libbuild2/dist/operation.cxx
parentcd7e63aa2c990aef103c26b219cf0aaed3ed45b2 (diff)
Tweak/add few comments
Diffstat (limited to 'libbuild2/dist/operation.cxx')
-rw-r--r--libbuild2/dist/operation.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx
index d68b573..45b1688 100644
--- a/libbuild2/dist/operation.cxx
+++ b/libbuild2/dist/operation.cxx
@@ -865,6 +865,8 @@ namespace build2
const dir_path& dir,
const string& e)
{
+ // NOTE: similar code in bpkg (system-package-manager-archive.cxx).
+
path an (pkg + '.' + e);
// Delete old archive for good measure.
@@ -887,7 +889,7 @@ namespace build2
if (e == "zip")
{
- // On Windows we use libarchive's bsdtar (zip is an MSYS executabales).
+ // On Windows we use libarchive's bsdtar (zip is an MSYS executable).
//
// While not explicitly stated, the compression-level option works
// for zip archives.
@@ -1006,7 +1008,7 @@ namespace build2
process apr;
process cpr;
- // Change the archiver's working directory to dist_root.
+ // Change the archiver's working directory to root.
//
// Note: this function is called during serial execution and so no
// diagnostics buffering is needed (here and below).