aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-buildscript.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-08 05:17:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-03-08 05:17:19 +0200
commit6968ba7c1190016cda222337430bb1328757a3e5 (patch)
tree9ca6538a358ff37db679e074695b434499056ef6 /libbuild2/adhoc-rule-buildscript.cxx
parentc6a4d07f79c8167c86f4d64669c689852efcbd4c (diff)
Add update=execute special value for cases where it's not default
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.cxx')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index c4f8833..fa60556 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -368,7 +368,7 @@ namespace build2
if (a == perform_update_id)
mask = 4;
}
- else if (v != "false" && v != "true")
+ else if (v != "false" && v != "true" && v != "execute")
{
fail << "unrecognized update variable value '" << v
<< "' specified for prerequisite " << p.prerequisite;