diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/IManifestBuilder.cc | 2 | ||||
| -rw-r--r-- | src/JSONManifestBuilder.cc | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/IManifestBuilder.cc b/src/IManifestBuilder.cc index e3cfc6b..b3f4de8 100644 --- a/src/IManifestBuilder.cc +++ b/src/IManifestBuilder.cc @@ -3,4 +3,4 @@ // Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved. // ============================================================= // -#include <IManifestBuilder.h> +#include <BTBKit/IManifestBuilder.h> diff --git a/src/JSONManifestBuilder.cc b/src/JSONManifestBuilder.cc index f70450d..46a8518 100644 --- a/src/JSONManifestBuilder.cc +++ b/src/JSONManifestBuilder.cc @@ -3,8 +3,7 @@ // Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved. // ============================================================= // -#include <JSONManifestBuilder.h> -#include <initializer_list> +#include <BTBKit/JSONManifestBuilder.h> using String = std::string; using JSON = nlohmann::json; @@ -91,7 +90,7 @@ bool JSONManifestBuilder::buildTarget(int arg_sz, const char* arg_val, const boo auto ret_exec = std::system(command.c_str()); if (ret_exec > 0) { - BTB::Logger::info() << "error: exec exit with code: " << ret_exec << "" << std::endl; + BTB::Logger::info() << "error: exit with message: " << std::strerror(ret_exec) << "" << std::endl; return false; } |
