diff --git a/core/src/args.rs b/core/src/args.rs index 229cb7a..aeb2e44 100644 --- a/core/src/args.rs +++ b/core/src/args.rs @@ -87,8 +87,8 @@ fn print_version() { "version: {}", option_env!("CARGO_PKG_VERSION").unwrap_or("unknown") ); - let lib = option_env!("_PR_LIB").map(|dir| dir.to_string()); + let lib = option_env!("_DEF_PR_LIB").map(|dir| dir.to_string()); if lib.is_some() { - println!("lib: {}", lib.unwrap()); + println!("Default lib directory: {}", lib.unwrap()); } } diff --git a/core/src/shell.rs b/core/src/shell.rs index 03bf9c9..0f2d7b8 100644 --- a/core/src/shell.rs +++ b/core/src/shell.rs @@ -59,7 +59,7 @@ impl Data { if let Ok(lib_dir) = std::env::var("_PR_LIB") { Some(lib_dir) } else { - option_env!("_PR_LIB").map(|dir| dir.to_string()) + option_env!("_DEF_PR_LIB").map(|dir| dir.to_string()) } };