Skip to content

Commit a08822c

Browse files
committed
bootstrap: always use shasum instead of sha256sum
1 parent ab89870 commit a08822c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/native.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,10 @@ impl Step for Openssl {
366366
if !ok {
367367
panic!("failed to download openssl source")
368368
}
369-
let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
369+
let mut shasum = {
370370
let mut cmd = Command::new("shasum");
371371
cmd.arg("-a").arg("256");
372372
cmd
373-
} else {
374-
Command::new("sha256sum")
375373
};
376374
let output = output(&mut shasum.arg(&tmp));
377375
let found = output.split_whitespace().next().unwrap();

0 commit comments

Comments
 (0)