aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2017-09-07 12:07:25 +0300
committerSimo Fält <simo.falt@qt.io>2017-09-08 04:34:41 +0000
commit92d1bdcb43e988919bfdcb91c0e6f366bed07145 (patch)
treebc6176bc4ecb0dc2d3399107a0a79019b5e7b433
parentc48355ebb58cb058df5b2ca519b6b89fbd09f380 (diff)
Provisioning: Fix shasum path
Commit c48355ebb58cb058df5b2ca519b6b89fbd09f380 changed the path of shasum, which was not intended. While the DownloadURL.sh utility is used by rhel in addition to macOS we can't rely on /usr/bin/shasum but we have to use the one found from PATH. Change-Id: I67bb37dcb72ba3d8d1f279646e44228b27137ec9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--coin/provisioning/common/DownloadURL.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/DownloadURL.sh b/coin/provisioning/common/DownloadURL.sh
index a663b602..c60fae21 100644
--- a/coin/provisioning/common/DownloadURL.sh
+++ b/coin/provisioning/common/DownloadURL.sh
@@ -71,7 +71,7 @@ function DownloadURL {
}
echo "Checking SHA1 on PKG '$targetFile'"
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
- /usr/bin/shasum --check $targetFile.sha1 || throw $ExceptionSHA1
+ shasum --check $targetFile.sha1 || throw $ExceptionSHA1
)
catch || {