aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package-skeleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/package-skeleton.cxx')
-rw-r--r--bpkg/package-skeleton.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/package-skeleton.cxx b/bpkg/package-skeleton.cxx
index cd79222..9cffef1 100644
--- a/bpkg/package-skeleton.cxx
+++ b/bpkg/package-skeleton.cxx
@@ -762,7 +762,9 @@ namespace bpkg
gs.assign (ctx.var_build_meta_operation) = ctx.current_mname;
- // @@ TODO: need to set a variable indicating this is a skeleton load.
+ // Use the build mode to signal this is a package skeleton load.
+ //
+ gs.assign (*ctx.var_pool.find ("build.mode")) = "skeleton";
// Note that it's ok for out_root to not exist (external package).
//