Skip to content

Commit

Permalink
fix: arch should be uppercased in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 21, 2024
1 parent 15733a8 commit e2ea86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildit-utils/src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ pub fn get_environment_requirement(
for arch in ALL_ARCH {
let res_arch: &mut EnvironmentRequirement = res.entry(*arch).or_default();
if let Some(env_req) = spec
.get(&format!("ENVREQ__{arch}"))
.get(&format!("ENVREQ__{}", arch.to_ascii_uppercase()))
.or_else(|| spec.get("ENVREQ"))
{
for req in env_req.split(" ") {
Expand Down

0 comments on commit e2ea86a

Please sign in to comment.