Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: If Bash does not exist, use sh #654

Merged
merged 3 commits into from
Mar 30, 2023
Merged

fix: If Bash does not exist, use sh #654

merged 3 commits into from
Mar 30, 2023

Conversation

WaterLemons2k
Copy link
Contributor

@WaterLemons2k WaterLemons2k commented Mar 30, 2023

What does this PR do?

Only use Bash if it exist, otherwize use sh.

Motivation

#651 (comment)

安卓设备中没有bash,无法执行命令获取地址,能否直接运行命令

Additional Notes

@jeessy2
Copy link
Owner

jeessy2 commented Mar 30, 2023

docker中可以默认安装bash, 有restricted模式

@jeessy2 jeessy2 merged commit 947ff98 into jeessy2:master Mar 30, 2023
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.

None yet

2 participants