bootstrap: use shasum(1) on NetBSD build hosts

NetBSD doesn't ship with sha256sum.  The openssl build will probably
try to use perl anyway, so using perl's shasum is reasonable.
This commit is contained in:
Jonathan A. Kollasch 2017-08-31 09:17:50 -05:00
parent 1fd3a42c62
commit b53b853129
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ impl Step for Openssl {
if !ok {
panic!("failed to download openssl source")
}
let mut shasum = if target.contains("apple") {
let mut shasum = if target.contains("apple") || build.build.contains("netbsd") {
let mut cmd = Command::new("shasum");
cmd.arg("-a").arg("256");
cmd