Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Oct 21, 2024
1 parent af7b8b8 commit 7805cbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# shellcheck disable=SC3043 # In POSIX sh, local is undefined

SCRIPT_NAME='Bits info'
SCRIPT_VERSION='1.5.3'
SCRIPT_VERSION='1.5.4'

### CONFIGURATION ###

Expand All @@ -16,7 +16,7 @@ case "$(set 2> /dev/null -o || set || :)" in *'pipefail'*) set -o pipefail || pr

# The "obosh" shell does NOT support "command" while the "posh" shell does NOT support "type"
{
command 1> /dev/null -v 'command'
command 1> /dev/null -v ':'
} 2> /dev/null || command()
{
test "${1-}" = '-v' || exit 255
Expand Down Expand Up @@ -884,6 +884,7 @@ main()
shell_bit="$(retrieve_bitness_from_uname || :)" # Use it only as last resort (almost never happens)
fi

os_bit='unknown'
if test "${OS-}" = 'Windows_NT' && os_bit="${PROCESSOR_ARCHITEW6432:-${PROCESSOR_ARCHITECTURE-}}" && test -n "${os_bit}"; then
# On Windows 2000+ / ReactOS
case "${os_bit}" in
Expand Down

0 comments on commit 7805cbf

Please sign in to comment.