I was trying to install git subrepo on MacOs with bash 5.0.18 installed. When I source .bashrc, I get error message :
The git-subrepo command requires that 'Bash 4+' is installed. It doesn't need to be your shell, but it must be in your PATH. You appear to be on macOS. Try: 'brew install bash'. This will not change your user shell, it just installs 'Bash 5.x'.
Is git subrepo not compatible with bash 5 or is there any solution to make it work?
显然,我可以轻松地使用 brew 安装它:
brew install git-subrepo
It should be a PATH
issue, as illustrated by ingydotnet/git-subrepo
issue 463
I realized there was a part of my path not being specified which caused this issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.