Skip to content

Commit 53a51ff

Browse files
test 2
1 parent 336594a commit 53a51ff

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

scripts/packages-install/reinstall-cmake-rhel.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,7 @@ dnf -y autoremove
3232
mkdir -p /opt/cmake
3333

3434
architecture=$(arch)
35-
case "${architecture}" in
36-
arm64)
37-
ARCH=aarch64 ;;
38-
amd64)
39-
ARCH=x86_64 ;;
40-
*)
41-
echo "Unsupported architecture ${architecture}."
42-
exit 1
43-
;;
44-
esac
35+
ARCH=${architecture}
4536

4637
CMAKE_BINARY_NAME="cmake-${CMAKE_VERSION}-linux-${ARCH}.sh"
4738
CMAKE_CHECKSUM_NAME="cmake-${CMAKE_VERSION}-SHA-256.txt"

0 commit comments

Comments
 (0)