Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 6, 2024
1 parent e575afd commit 3c00542
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ get_shell_exe()
:
elif _gse_tmp_var="$(ps 2> /dev/null -p "${$}" -o 'comm=')" && test -n "${_gse_tmp_var}" && _gse_tmp_var="$(command 2> /dev/null -v "${_gse_tmp_var}")"; then
1>&2 echo 2
1>&2 printf '1: '; 1>&2 ps 2> /dev/null -p "${$}" -o 'comm='
1>&2 printf '2: '; 1>&2 command 2> /dev/null -v osh
# On Linux / macOS
_gse_shell_exe="$(readlink 2> /dev/null -f "${_gse_tmp_var}" || realpath 2> /dev/null "${_gse_tmp_var}")" || _gse_shell_exe="${_gse_tmp_var}"
elif _gse_tmp_var="${BASH:-${SHELL-}}" && test -n "${_gse_tmp_var}"; then
Expand Down

0 comments on commit 3c00542

Please sign in to comment.