Be more transparent when `shasum` is unavailable

This commit is contained in:
Conny Brunnkvist 2021-09-13 18:36:49 +07:00 committed by GitHub
parent 97247845fe
commit 0fd590ffda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
sbt
View File

@ -158,7 +158,7 @@ acquire_sbt_jar () {
exit 2
fi
else
echoerr "('shasum' missing on path - $launcher_sv integrity check SKIPPED!)"
echoerr "$(command shasum 2>&1 | grep -o 'shasum:.*') - JAR checksum verification SKIPPED!"
mv "${download_jar}.temp" "${download_jar}"
fi
if [[ -f "$download_jar" ]]; then