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

Not fully installed on Termux 0.118.0 #301

Open
DewateredWeeds opened this issue May 10, 2024 · 1 comment
Open

Not fully installed on Termux 0.118.0 #301

DewateredWeeds opened this issue May 10, 2024 · 1 comment

Comments

@DewateredWeeds
Copy link

Sorry to bother you, but I encountered some problems when using this script, the output of the terminal is in the picture, it seems that some parts are wrong, but I have no idea what to do.

Screenshot_2024-05-11-07-10-08-035_com termux

@begriffs
Copy link
Owner

Thanks for reporting.

Looks like it's searching for func.sh in the wrong place. I wonder if the problem is how it computes $SCRIPT_DIR:

SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
. ${SCRIPT_DIR}/func.sh

This article says BASH_SOURCE was introduced in Bash 3.0-alpha. What does bash --version say on your system?

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

No branches or pull requests

2 participants