You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/09/30 10:58:47 UTC

[GitHub] [maven] michael-o commented on pull request #556: [MNG-7270] Switch to shell alternative to "which"

michael-o commented on pull request #556:
URL: https://github.com/apache/maven/pull/556#issuecomment-931216010


   I tried your script on the POSIX shell on HP-UX, the result is quite surpring:
   ```
   $ LC_ALL=C.utf8 ./script
   ./script[3]: restricted: command is a shell builtin
   /opt/java8/bin/java
   ```
   What would be your opinon on that?
   
   Counter example the POSIX shell on FreeBSD 12-STABLE:
   ```
   $ ./script
   /usr/local/bin/java
   ```


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org