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 29, 2024
1 parent c56d599 commit 080e6a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,11 @@ get_shell_info()

case "${_shell_name}" in
*'ksh'*) _shell_is_ksh='true' ;;
'zsh' | 'bosh' | 'osh' | 'yash' | 'tcsh' | 'fish') _shell_use_ver_opt='true' ;;
*'\bash') _shell_name='bash' ;; # For bugged versions of Bash under Windows
'bash' | 'zsh' | 'yash' | 'osh' | 'bosh' | 'pbosh' | 'obosh' | 'tcsh' | 'fish') _shell_use_ver_opt='true' ;;
*'\bash') # For bugged versions of Bash under Windows
_shell_use_ver_opt='true'
_shell_name='bash'
;;
*) ;;
esac

Expand Down

0 comments on commit 080e6a8

Please sign in to comment.