diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-21 00:32:48 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-21 00:32:48 -0500 |
commit | 790217353e94a4a9ee14d51b8a9e6c2dafc6377d (patch) | |
tree | d877cba13687f165e39a08027829f3075ca8ca12 /hscript/script.cc | |
parent | 25750e7495e178fc22a07cd1d9dcfd34c7141036 (diff) | |
download | horizon-790217353e94a4a9ee14d51b8a9e6c2dafc6377d.tar.gz horizon-790217353e94a4a9ee14d51b8a9e6c2dafc6377d.tar.bz2 horizon-790217353e94a4a9ee14d51b8a9e6c2dafc6377d.tar.xz horizon-790217353e94a4a9ee14d51b8a9e6c2dafc6377d.zip |
hscript: Implement Language::execute
Diffstat (limited to 'hscript/script.cc')
-rw-r--r-- | hscript/script.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |