summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/jdk12/Makefile2
-rw-r--r--java/jdk13/Makefile2
-rw-r--r--java/jdk14/Makefile2
-rw-r--r--java/jdk15/Makefile2
-rw-r--r--java/jdk16/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile
index 063573635c4a..54837c99d30c 100644
--- a/java/jdk12/Makefile
+++ b/java/jdk12/Makefile
@@ -125,7 +125,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:"; \
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/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:"; \
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:"; \
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/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:"; \
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/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:"; \