Skip to content

Commit

Permalink
boulder/draft: Default to autotools on unhandled build system
Browse files Browse the repository at this point in the history
This will most likely be the closest match, plus we write out the recipe
file unconditionally then much to deangst to our packagers.
  • Loading branch information
joebonrichie committed Jan 7, 2025
1 parent 556a8f6 commit bc3b5ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions boulder/src/draft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ impl Drafter {
// Remove temp extract dir
fs::remove_dir_all(extract_root)?;

let Some(build_system) = build.detected_system else {
return Err(Error::UnhandledBuildSystem);
};
let build_system = build.detected_system.unwrap_or(build::System::Autotools);

let builddeps = builddeps(build.dependencies);
let environment = build_system
Expand Down

0 comments on commit bc3b5ba

Please sign in to comment.