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

[OPENJDK-312] explicitly depend upon "which" #199

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Apr 6, 2021

run-java.sh calls "which" in some circumstances but does not explicitly
depend upon it.

@jmtd jmtd requested a review from jerboaa April 6, 2021 13:35
Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. An alternative could be to use type -p throughout, a bash built-in.

run-java.sh called "which" in some circumstances but does not explicitly
depend upon it.  Severin points out "type -p" can be used instead and is
a bash built-in.

https://issues.redhat.com/browse/OPENJDK-309

Signed-off-by: Jonathan Dowland <jdowland@redhat.com>
@jmtd
Copy link
Member Author

jmtd commented Apr 6, 2021

OK. An alternative could be to use type -p throughout, a bash built-in.

Oh that's even better! Thanks. PR updated.

@jmtd jmtd merged commit 00718e4 into jboss-container-images:develop Apr 6, 2021
@jmtd jmtd deleted the OPENJDK-309-which-dep branch April 6, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants