Skip to content

Commit 0bd481a

Browse files
committed
harmonize on "uname -i"
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 3b6e494 commit 0bd481a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/singleton-jdk/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rpm -e --nodeps $(rpm -qa java-* | grep -v "^java-${JAVA_VERSION}-${JAVA_VENDOR}
1818
# workaround for <https://issues.redhat.com/browse/RHEL-3437>
1919
# The alternative link groups touched here need to match up with those set in
2020
# modules/jdk/*/configure.sh
21-
_arch="$(uname -m)"
21+
_arch="$(uname -i)"
2222
for alt in java javac java_sdk_openjdk jre_openjdk; do
2323
alternatives --set "$alt" "java-${JAVA_VERSION}-${JAVA_VENDOR}.${_arch}"
2424
done

0 commit comments

Comments
 (0)