diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-06-15 22:04:14 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-06-16 12:47:27 +0200 |
commit | c7f971c23b908335ab5cfb3117bb4d6fe544a664 (patch) | |
tree | e6b9957ffb8aa92fc4391409de1c90b678e9c04a /solenv | |
parent | 9e0ac0c85fc0fb6011d2b0fc28f3c430bc10317f (diff) |
fix download-filename for Windows aarch64 builds
was incorrectly using x64
Change-Id: Ieb7c90c6b1ed3abd73315a15c59490ea639954c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135922
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/download.pm | 13 | ||||
-rw-r--r-- | solenv/bin/modules/installer/globals.pm | 1 | ||||
-rw-r--r-- | solenv/bin/modules/installer/parameter.pm | 11 |
3 files changed, 2 insertions, 23 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index ca270fe563a9..f46dae735864 100644 --- a/solenv/bin/modules/installer/download.pm +++ b/solenv/bin/modules/installer/download.pm @@ -363,17 +363,6 @@ sub get_download_architecture { $arch = "x86"; } - elsif ( $installer::globals::iswindowsbuild ) - { - if ( $installer::globals::iswin64build ) - { - $arch = "x64"; - } - else - { - $arch = "x86"; - } - } elsif ( $installer::globals::cpuname eq 'INTEL' ) { $arch = "x86"; @@ -388,7 +377,7 @@ sub get_download_architecture } elsif ( $installer::globals::cpuname eq 'X86_64' ) { - $arch = "x86-64"; + $arch = $installer::globals::os eq 'WNT' ? 'x64' : 'x86-64'; } elsif ( $installer::globals::cpuname eq 'AARCH64' ) { diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm index 11442ef202a8..5bbaef309145 100644 --- a/solenv/bin/modules/installer/globals.pm +++ b/solenv/bin/modules/installer/globals.pm @@ -46,7 +46,6 @@ BEGIN $languages_defined_in_productlist = 0; $setupscript_defined_in_productlist = 0; $iswindowsbuild = 0; - $iswin64build = 0; $islinuxbuild = 0; $isrpmbuild = 0; $isdebbuild = 0; diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm index 8f259c3e9a32..befed72024a0 100644 --- a/solenv/bin/modules/installer/parameter.pm +++ b/solenv/bin/modules/installer/parameter.pm @@ -241,16 +241,7 @@ sub setglobalvariables if ( $installer::globals::os eq 'WNT' ) { - if ( $installer::globals::cpuname eq 'INTEL') - { - $installer::globals::iswindowsbuild = 1; - $installer::globals::iswin64build = 0; - } - else - { - $installer::globals::iswindowsbuild = 1; - $installer::globals::iswin64build = 1; - } + $installer::globals::iswindowsbuild = 1; } if ( $installer::globals::os eq 'SOLARIS') |