mrg opened a new issue, #756:
URL: https://github.com/apache/maven-mvnd/issues/756
I'm not sure if the Homebrew packaging is maintained here (if not, maybe add
a comment to the README), but after installing via Homebrew and adding `source
/usr/local/bin/mvnd-bash-completion.bash` to my `~/.bash_login`, all future
shells were killed with:
```
Last login: Tue Dec 20 06:51:54 on ttys009
-bash: /usr/local/Cellar/mvnd/0.8.2/libexec/bin/mvnd-bash-completion.bash:
Permission denied
-bash: exec:
/usr/local/Cellar/mvnd/0.8.2/libexec/bin/mvnd-bash-completion.bash: cannot
execute: Undefined error: 0
[Process completed]
```
Fortunately, I had other shells open and it was easy to undo. The contents
of `source /usr/local/bin/mvnd-bash-completion.bash` is:
```
#!/bin/bash
JAVA_HOME="${JAVA_HOME:-/usr/local/opt/openjdk/libexec/openjdk.jdk/Contents/Home}"
exec "/usr/local/Cellar/mvnd/0.8.2/libexec/bin/mvnd-bash-completion.bash" "$@"
```
If I replaced `/usr/local/bin/mvnd-bash-completion.bash` with
`/usr/local/Cellar/mvnd/0.8.2/libexec/bin/mvnd-bash-completion.bash`, the
sourcing works, but isn't robust if the version number changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]