From 790217353e94a4a9ee14d51b8a9e6c2dafc6377d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 21 Oct 2019 00:32:48 -0500 Subject: hscript: Implement Language::execute --- hscript/script.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hscript/script.cc') diff --git a/hscript/script.cc b/hscript/script.cc index 69a46cc..785e40e 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -865,10 +865,17 @@ bool Script::execute() const { /**************** POST PACKAGE METADATA ****************/ output_step_start("post-metadata"); + if(!this->internal->rootpw->execute(opts)) { EXECUTE_FAILURE("post-metadata"); return false; } + + if(this->internal->lang && !this->internal->lang->execute(opts)) { + EXECUTE_FAILURE("post-metadata"); + return false; + } + output_step_end("post-metadata"); return true; } -- cgit v1.2.3-60-g2f50