diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-03 00:06:49 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-03 00:06:49 -0500 |
commit | 419e2951caca02ba77a89b6a75c9317c6ff02300 (patch) | |
tree | 8406b2d205ce891a5b57e9a2e067bc0ee2c2a4e8 /image/creator.cc | |
parent | 48b38926b6b21ac82da5beeb61586048d48d23f7 (diff) | |
download | horizon-419e2951caca02ba77a89b6a75c9317c6ff02300.tar.gz horizon-419e2951caca02ba77a89b6a75c9317c6ff02300.tar.bz2 horizon-419e2951caca02ba77a89b6a75c9317c6ff02300.tar.xz horizon-419e2951caca02ba77a89b6a75c9317c6ff02300.zip |
image: Finish implementing ISO backend
Diffstat (limited to 'image/creator.cc')
-rw-r--r-- | image/creator.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/image/creator.cc b/image/creator.cc index 046027a..1a064f1 100644 --- a/image/creator.cc +++ b/image/creator.cc @@ -137,6 +137,10 @@ int main(int argc, char *argv[]) { output_path = vm["output"].as<std::string>(); } + if(fs::path(output_path).is_relative()) { + output_path = fs::absolute(output_path).string(); + } + if(!vm["backconfig"].empty()) { for(const auto &confpart : vm["backconfig"].as<std::vector<std::string>>()) { |