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

compatibility issue with openbsd [easy fix] #2

Closed
shrigma opened this issue Nov 1, 2021 · 4 comments
Closed

compatibility issue with openbsd [easy fix] #2

shrigma opened this issue Nov 1, 2021 · 4 comments

Comments

@shrigma
Copy link
Contributor

shrigma commented Nov 1, 2021

hi there is a small compatibility issue with OpenBSD, in your python files where the shebang calls on #!/usr/bin/python3, however in OpenBSD's default install python3 is located in /usr/local/bin/python3. you can fix this in the setup.sh by having an if statement that checks if the operating system is OpenBSD and if it is changing the shebang to /usr/local/bin/python3, a way to find the OS in lowercase charterers is by using uname | tr '[:upper:]' '[:lower:]'. hope you are doing well.

@shrigma
Copy link
Contributor Author

shrigma commented Nov 1, 2021

a better way to fix it would be to change the shebang using the whereis python3 command that way it would work on bsd and any linux based os theoretically.

@Solirs
Copy link
Owner

Solirs commented Nov 1, 2021

Gonna fix this asap, thanks for reporting.

@Solirs
Copy link
Owner

Solirs commented Nov 1, 2021

Fixed by changing the shebang to /usr/bin/env python3 , tested on freebsd (same python install path) just in case and its good.
Hope it fixes your problem.

@Solirs Solirs closed this as completed Nov 1, 2021
@Solirs Solirs reopened this Nov 1, 2021
@Solirs
Copy link
Owner

Solirs commented Nov 1, 2021

Im gonna close this issue since its now inactive.

@Solirs Solirs closed this as completed Nov 1, 2021
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