mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-01 08:57:32 +08:00
Provisioning: Create symbolic for shasum tool on macOS for compatibility
On macOS the sha1 tool is named 'shasum' while on all other unix systems
it is called 'sha1sum'. In order to make all unix provisioning scripts
run on macOS without special case handling a symbolic link is created.
Change-Id: Ib1365cbb0dcb31e68a22959ce939fb450ec7e3f7
Reviewed-by: Joni Jäntti <joni.jantti@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 04d1ee1df4)
This commit is contained in:
@@ -71,7 +71,7 @@ function DownloadURL {
|
||||
}
|
||||
echo "Checking SHA1 on PKG '$targetFile'"
|
||||
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
||||
shasum --check $targetFile.sha1 || throw $ExceptionSHA1
|
||||
sha1sum --check $targetFile.sha1 || throw $ExceptionSHA1
|
||||
)
|
||||
|
||||
catch || {
|
||||
|
||||
Reference in New Issue
Block a user