Skip to content

Commit

Permalink
Added 'x86' to list of valid inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjaffe37 committed Mar 4, 2024
1 parent 1b1566a commit 51e3774
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wix/Build.OpenJDK_generic.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ REM PRODUCT_MAINTENANCE_VERSION=0
REM PRODUCT_PATCH_VERSION=0
REM PRODUCT_BUILD_NUMBER=28
REM MSI_PRODUCT_VERSION=11.0.0.28
REM ARCH=x64|x86-32|arm64 or all "x64 x86-32 arm64"
REM ARCH=x64|x86-32|x86|arm64 or all "x64 x86-32 arm64"
REM JVM=hotspot|openj9|dragonwell or both JVM=hotspot openj9
REM PRODUCT_CATEGORY=jre|jdk (only one at a time)
REM SKIP_MSI_VALIDATION=true (Add -sval option to light.exe to skip MSI/MSM validation and skip smoke.exe )
Expand Down Expand Up @@ -38,7 +38,7 @@ IF NOT DEFINED PRODUCT_UPDATE_INFO_LINK SET PRODUCT_UPDATE_INFO_LINK=https://ado

powershell -ExecutionPolicy Bypass -File "%~dp0\helpers\Validate-Input.ps1" ^
-toValidate '%ARCH%' ^
-validInputs "x64 x86-32 arm64" ^
-validInputs "x64 x86-32 x86 arm64" ^
-delimiter " "

IF %ERRORLEVEL% == 1 (
Expand Down Expand Up @@ -120,8 +120,6 @@ FOR %%A IN (%ARCH%) DO (
IF !PLATFORM! == x86-32 (
SET PLATFORM=x86
)
@REM Microsoft uses "x86" instead of "x86-32" for the platform folder
IF !VENDOR! == Microsoft SET FOLDER_PLATFORM=!PLATFORM!

SET SETUP_RESOURCES_DIR=.\Resources

Expand Down

0 comments on commit 51e3774

Please sign in to comment.