aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk14/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk14/Makefile')
-rw-r--r--java/jdk14/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -160,7 +160,7 @@ pre-build:
${ECHO_MSG} "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
- @if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
+ @if [ `/sbin/sysctl -n compat.linux.osname` != "Linux" ]; \
then \
${ECHO_MSG} "Please set the value of the sysctl compat.linux.osname"; \
${ECHO_MSG} "to 'Linux' with the command:"; \