From 43c1cd987f77199f3035da3b69208639f8d0b512 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 30 Sep 2025 19:19:01 +0700 Subject: [PATCH] Fix local dependency install --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a7ebeaa5f6..35e669cb13 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -96,7 +96,7 @@ fn install_local_pkgar(cookbook: &str, target: &str, packagename: &str, dest: &s // Recursively install any runtime dependencies. for dep in pkginfo.depends.iter() { let depname = dep.as_str(); - if !get_head_path(packagename, dest).exists() { + if !get_head_path(depname, dest).exists() { println!("Installing runtime dependency for {packagename} from local repo: {depname}"); install_local_pkgar(cookbook, target, depname, dest)?; }