Rename rust env to decide build dir

This commit is contained in:
lazymio
2021-11-10 07:51:07 +01:00
parent a43f655727
commit 7f43e1de3e
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ fn main() {
rust_build_path.join("Release").to_str().unwrap()
);
} else {
let unicorn_dir = if let Result::Ok(_) = env::var("CI") {
let unicorn_dir = if let Result::Ok(_) = env::var("UNICORN_LOCAL") {
Path::new("..").join("..")
} else {
println!("cargo:warning=Unicorn not found. Downloading...");