mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 03:36:54 +08:00
Handle tgz extensions in InstallFromCompressedFileFromURL.sh
InstallFromCompressedFileFromURL.sh handles tar.gz, but not tgz. Add the missing extension. Pick-to: 6.9 Change-Id: Ie7e10e9b6963d5c24e21818dfd67bea9ab571541 Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
@@ -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