Skip to content

Commit 51bde93

Browse files
psumberarami3l
authored andcommitted
Fix rustup-init.sh cputype check for sparcv9
1 parent 452c8e5 commit 51bde93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rustup-init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ get_architecture() {
415415
;;
416416

417417
SunOS)
418-
if [ "$_cputype" = sparcv9 ]; then
418+
if [ "$_cputype" = sun4v ]; then
419419
_ostype=sun-solaris
420420
else
421421
_ostype=pc-solaris
@@ -499,7 +499,7 @@ get_architecture() {
499499
s390x)
500500
_cputype=s390x
501501
;;
502-
sparcv9)
502+
sun4v)
503503
_cputype=sparcv9
504504
;;
505505
riscv64)

0 commit comments

Comments
 (0)