Skip to content

Commit

Permalink
Merge branch 'micro5k:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 8, 2024
2 parents 0842905 + 71a7c16 commit ecf7b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -646,13 +646,13 @@ get_shell_info()
test -z "${_shell_name}" || _shell_version="${_shell_version#"${_shell_name}"}"
;;
esac
_shell_version="${_shell_version# }"

case "${_shell_name}" in
'busybox') _shell_version="${_shell_version#BusyBox}" ;;
'osh') _shell_version="$(printf '%s\n' "${_shell_version}" | cut -f '1')" ;;
*) ;;
esac
_shell_version="${_shell_version# }"

printf '%s %s\n' "${_shell_name:-unknown}" "${_shell_version:-unknown}"
}
Expand Down

0 comments on commit ecf7b8a

Please sign in to comment.