diff --git a/src/main/bash/sdkman-init.sh b/src/main/bash/sdkman-init.sh index 89ad27e84..1212eacfa 100644 --- a/src/main/bash/sdkman-init.sh +++ b/src/main/bash/sdkman-init.sh @@ -64,7 +64,7 @@ function infer_platform() { echo "LinuxARM64" ;; *) - echo "LinuxX64" + echo "Exotic" ;; esac ;; diff --git a/src/test/groovy/sdkman/specs/PlatformSpec.groovy b/src/test/groovy/sdkman/specs/PlatformSpec.groovy index a736a2939..448b3449c 100644 --- a/src/test/groovy/sdkman/specs/PlatformSpec.groovy +++ b/src/test/groovy/sdkman/specs/PlatformSpec.groovy @@ -26,7 +26,14 @@ class PlatformSpec extends SdkmanEnvSpecification { "Linux" | "armv7l" | "linuxarm32hf" "Linux" | "armv8l" | "linuxarm32hf" "Linux" | "aarch64" | "linuxarm64" - "Linux" | "" | "linuxx64" + "Linux" | "alpha" | "exotic" + "Linux" | "i64" | "exotic" + "Linux" | "ppc" | "exotic" + "Linux" | "ppc64le" | "exotic" + "Linux" | "ppc64el" | "exotic" + "Linux" | "s390" | "exotic" + "Linux" | "s390x" | "exotic" + "Linux" | "" | "exotic" "Darwin" | "x86_64" | "darwinx64" "Darwin" | "arm64" | "darwinarm64" "Darwin" | "" | "darwinx64"