summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/bin/modules/installer/download.pm13
-rw-r--r--solenv/bin/modules/installer/globals.pm1
-rw-r--r--solenv/bin/modules/installer/parameter.pm11
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')