aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/version/utility.cxx')
-rw-r--r--libbuild2/version/utility.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/version/utility.cxx b/libbuild2/version/utility.cxx
index 70daab1..0669da7 100644
--- a/libbuild2/version/utility.cxx
+++ b/libbuild2/version/utility.cxx
@@ -17,11 +17,14 @@ namespace build2
namespace version
{
auto_rmfile
- fixup_manifest (const path& in, path out, const standard_version& v)
+ fixup_manifest (context& ctx,
+ const path& in,
+ path out,
+ const standard_version& v)
{
- auto_rmfile r (move (out), !dry_run /* active */);
+ auto_rmfile r (move (out), !ctx.dry_run /* active */);
- if (!dry_run)
+ if (!ctx.dry_run)
{
try
{