mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 09:46:08 +08:00
Handle tgz extensions in InstallFromCompressedFileFromURL.sh
InstallFromCompressedFileFromURL.sh handles tar.gz, but not tgz.
Add the missing extension.
Change-Id: Ie7e10e9b6963d5c24e21818dfd67bea9ab571541
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
(cherry picked from commit 03d05c8781)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
fb187295fc
commit
16981acca4
@@ -27,6 +27,9 @@ function InstallFromCompressedFileFromURL {
|
||||
DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile"
|
||||
echo "Uncompress $targetFile"
|
||||
case $extension in
|
||||
"tgz")
|
||||
tar -xzf "$targetFile" --directory "$targetDirectory"
|
||||
;;
|
||||
"tar.gz")
|
||||
tar -xzf "$targetFile" --directory "$targetDirectory"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user