manager: Add os variable since hostname on macos is weird
This commit is contained in:
@@ -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?;
|
||||
|
||||
Reference in New Issue
Block a user