Skip to content

Commit d94cdc3

Browse files
authored
Merge pull request #5630 from conao3/uname
Use `uname -m` instead of `arch`.
2 parents 80fe03c + 1af5b6c commit d94cdc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/scripts/get-stack.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ post_install_separator() {
7171

7272
# determines the the CPU's instruction set
7373
get_isa() {
74-
if arch | grep -Eq 'armv[78]l?' ; then
74+
if uname -m | grep -Eq 'armv[78]l?' ; then
7575
echo arm
76-
elif arch | grep -q aarch64 ; then
76+
elif uname -m | grep -q aarch64 ; then
7777
echo aarch64
7878
else
7979
echo x86

0 commit comments

Comments
 (0)