summaryrefslogtreecommitdiff
path: root/image/creator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'image/creator.cc')
-rw-r--r--image/creator.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/image/creator.cc b/image/creator.cc
index b16504a..805e13b 100644
--- a/image/creator.cc
+++ b/image/creator.cc
@@ -112,6 +112,14 @@ int main(int argc, char *argv[]) {
output_path = vm["output"].as<std::string>();
}
+ /* Announce our presence */
+ std::cout << "HorizonScript Image Creation Utility version " << VERSTR
+ << std::endl
+ << "Copyright (c) 2020 Adélie Linux and contributors."
+ << std::endl
+ << "This software is licensed to you under the AGPL 3.0, "
+ << "unless otherwise noted." << std::endl << std::endl;
+
/* Load the proper backend. */
for(const auto &candidate : BackendManager::available_backends()) {
if(candidate.type_code == type_code) {
@@ -142,6 +150,8 @@ int main(int argc, char *argv[]) {
} else {
int ret;
+ my_script->setTargetDirectory(ir_dir);
+
if(!my_script->execute()) {
exit_code = EXIT_FAILURE;
goto trouble;