We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138b198 commit d30685eCopy full SHA for d30685e
build.rs
@@ -20,7 +20,7 @@ fn build_uefi_bootloader(out_dir: &Path) -> PathBuf {
20
let cargo = std::env::var("CARGO").unwrap_or_else(|_| "cargo".into());
21
let mut cmd = Command::new(cargo);
22
cmd.arg("install").arg("bootloader-x86_64-uefi");
23
- if std::env::var("BOOTLOADER_LOCAL_BUILD").is_ok() {
+ if std::env::var("BOOTLOADER_LOCAL_BUILD").is_ok() && Path::new("uefi").exists() {
24
// local build
25
cmd.arg("--path").arg("uefi");
26
} else {
0 commit comments