Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Oct 15, 2024
1 parent 7a76a7b commit 93b671d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -791,19 +791,19 @@ main()

if test -n "${shell_exe}" && shell_bit="$(detect_bitness_of_files "${shell_exe}")"; then
:
elif test "${OS-}" = 'Windows_NT' && shell_bit="${PROCESSOR_ARCHITECTURE-}" && test -n "${shell_bit}"; then
# On Windows 2000+ / ReactOS
case "${shell_bit}" in
AMD64 | ARM64 | IA64) shell_bit='64-bit' ;;
x86) shell_bit='32-bit' ;;
*) shell_bit='unknown' ;;
esac
elif tmp_var="$(uname 2> /dev/null -m)"; then
case "${tmp_var}" in
x86_64 | ia64 | arm64 | aarch64 | mips64) shell_bit='64-bit' ;;
x86 | i686 | i586 | i486 | i386 | armv7* | mips) shell_bit='32-bit' ;;
*) shell_bit='unknown' ;;
esac
elif test "${OS-}" = 'Windows_NT'; then
# On Windows 2000+ / ReactOS
case "${PROCESSOR_ARCHITECTURE-}" in
AMD64 | ARM64 | IA64) shell_bit='64-bit' ;;
x86) shell_bit='32-bit' ;;
*) shell_bit='unknown' ;;
esac
else
shell_bit='unknown'
fi
Expand Down

0 comments on commit 93b671d

Please sign in to comment.