diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-07-09 21:50:32 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-07-09 21:50:32 +0300 |
commit | 480e172246b8ee9e6c3f6556ec0fd0ae9759efb4 (patch) | |
tree | cfad0adbf0726b87d242c386dc00500461ee1f56 | |
parent | 642ada101f12157d8c995804fa2f61f5e43a2581 (diff) |
Fix execute_plan() not to load old config in simulation mode
-rw-r--r-- | bpkg/pkg-build.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index ca982a1..0ef2cc4 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -7857,7 +7857,7 @@ namespace bpkg // For an external package being replaced with another external, keep // the configuration unless requested not to with --disfigure. // - bool disfigure (p.disfigure || !external); + bool disfigure (!simulate && (p.disfigure || !external)); // If the skeleton was not initialized yet (this is an existing package // reconfiguration and no configuration was printed as a part of the |