manager: Add os variable since hostname on macos is weird

This commit is contained in:
2024-11-04 17:07:50 +01:00
parent 9001a8f4bd
commit e0d95e3bd0
7 changed files with 318 additions and 212 deletions

View File

@@ -10,7 +10,7 @@ use builder::build_tree;
use error::Errors;
use linker::link_tree;
use log::LevelFilter;
use peeker::peek_tree;
use peeker::print_variables;
use std::env;
use std::path::PathBuf;
use structopt::StructOpt;
@@ -88,8 +88,8 @@ async fn run() -> Result<(), Errors> {
};
if opt.print_variables {
info!("peeking tree");
peek_tree(&cfg).await?;
info!("scanning tree");
print_variables(&cfg).await?;
} else {
info!("building tree");
build_tree(&cfg).await?;