Skip to content

Commit e432921

Browse files
committed
feat: add support for aarch64 and pp64le arch in SapMachine RPMs
1 parent 52df4da commit e432921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/sapmachine.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function download {
4747
if echo "${asset_name}" | grep -q 'rpm$'
4848
then
4949
# shellcheck disable=SC2016
50-
regex='s/^sapmachine-(jdk|jre)-([0-9].+)\.x86_64\.rpm$/IMAGE_TYPE="$1" VERSION="$2" OS="linux" ARCH="x64" EXT="rpm"/g'
50+
regex='s/^sapmachine-(jdk|jre)-([0-9].+)\.(aarch64|ppc64le|x86_64)\.rpm$/IMAGE_TYPE="$1" VERSION="$2" OS="linux" ARCH="$3" EXT="rpm"/g'
5151
else
5252
# shellcheck disable=SC2016
5353
regex='s/^sapmachine-(jdk|jre)-([0-9].+)_(aix|linux|macos|osx|windows)-(x64|aarch64|ppc64|ppc64le|x64)-?(.*)_bin\.(.+)$/IMAGE_TYPE="$1" VERSION="$2" OS="$3" ARCH="$4" FEATURES="$5" EXT="$6"/g'

0 commit comments

Comments
 (0)