Skip to content

Commit 00718e4

Browse files
authored
Merge pull request #199 from jmtd/OPENJDK-309-which-dep
[OPENJDK-312] explicitly depend upon "which"
2 parents 7148e84 + 716fbb2 commit 00718e4

File tree

1 file changed

+1
-1
lines changed
  • modules/run/bash/artifacts/opt/jboss/container/java/run

1 file changed

+1
-1
lines changed

modules/run/bash/artifacts/opt/jboss/container/java/run/run-java.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ run_java_options() {
118118
if [ -f "/opt/run-java-options" ]; then
119119
echo `sh /opt/run-java-options`
120120
else
121-
which run-java-options >/dev/null 2>&1
121+
type -p run-java-options >/dev/null 2>&1
122122
if [ $? = 0 ]; then
123123
echo `run-java-options`
124124
fi

0 commit comments

Comments
 (0)