Fix repo_binary for metapackages

This commit is contained in:
Wildan M 2026-02-10 18:35:15 +07:00
parent 7b3cddad93
commit 1b10756190
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -181,6 +181,10 @@ impl BuildRecipe {
}
pub fn set_as_remote(&mut self) {
if self.kind == BuildKind::None {
// BuildKind::Remote won't handle remote meta-packages
return;
}
self.kind = BuildKind::Remote;
self.dev_dependencies = Vec::new();
}