We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to install the toolchain to /usr/local on Mac with Homebrew, an error
/usr/local
Couldn't find dependencies: - libarchive - libssl
has occurred in depends/check-dependencies.sh, because running brew as root has been no longer unsupported.
depends/check-dependencies.sh
The error seems to be caused by the following line, which is running brew --version as root in toolchain-sudo.sh:
brew --version
toolchain-sudo.sh
psptoolchain/depends/check-dependencies.sh
Lines 96 to 98 in 79b1cf8
The text was updated successfully, but these errors were encountered:
So --version works not, but getting the prefix works?
--version
I think using sudo might be a bit overkill then. We could use command -v brew to check instead.
command -v brew
Sorry, something went wrong.
Okay, looks like we can get away with this: https://github.com/Homebrew/brew/blob/master/Library/Homebrew/brew.sh#L439
Successfully merging a pull request may close this issue.
When trying to install the toolchain to
/usr/local
on Mac with Homebrew, an errorhas occurred in
depends/check-dependencies.sh
, because running brew as root has been no longer unsupported.The error seems to be caused by the following line, which is running
brew --version
as root intoolchain-sudo.sh
:psptoolchain/depends/check-dependencies.sh
Lines 96 to 98 in 79b1cf8
The text was updated successfully, but these errors were encountered: