From 03178a15a7587aeb4f71b040e55667ad09c98cab Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 26 Sep 2021 01:39:26 +0200 Subject: [PATCH] Wrong java home path --- scripts/continuous-integration/docker/build-natives.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/continuous-integration/docker/build-natives.sh b/scripts/continuous-integration/docker/build-natives.sh index fcb805f..7bcb5e3 100644 --- a/scripts/continuous-integration/docker/build-natives.sh +++ b/scripts/continuous-integration/docker/build-natives.sh @@ -1,6 +1,6 @@ #!/bin/bash -e export JAVA_HOME -JAVA_HOME="/usr/lib/jvm/$(find "/usr/lib/jvm/" -maxdepth 1 -type d -iname "java*jdk*" | head -n 1)/" +JAVA_HOME="$(find "/usr/lib/jvm/" -maxdepth 1 -type d -iname "java*jdk*" | head -n 1)/" export JAVA_INCLUDE_PATH="$JAVA_HOME/include" source ./scripts/continuous-integration/github-workflows/setup-variables.sh # Check variables correctness