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