Skip to content

use /usr/bin/env for find bash to improve portability#138

Open
guguducken wants to merge 2 commits intoactions:mainfrom
guguducken:modify-bash-find
Open

use /usr/bin/env for find bash to improve portability#138
guguducken wants to merge 2 commits intoactions:mainfrom
guguducken:modify-bash-find

Conversation

@guguducken
Copy link
Copy Markdown

Reason: I encountered some problems when using this tool. The version of my machine /bin/bash is low and does not support the syntax of declare -A, but I installed a new version of bash through homebrew and added it to the environment variable. But with #!/bin/bash means that the interpreter cannot use the new bash that I installed in other locations.
Solution: use /usr/bin/env for find bash to improve portability

@guguducken guguducken requested a review from a team as a code owner April 20, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant