diff --git a/docker-build.sh b/docker-build.sh index 0ff7b12ebc..aa0a782643 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -74,9 +74,6 @@ buildDockerContainer() # Execute the (Adoptium) OpenJDK build inside the Docker Container buildOpenJDKViaDocker() { - - DOCKER_PPODMAN="${1}" - local hostDir hostDir="$(pwd)" local pipelinesdir="${hostDir}"/workspace/pipelines diff --git a/makejdk-any-platform.sh b/makejdk-any-platform.sh index 0f936d580b..743b194557 100755 --- a/makejdk-any-platform.sh +++ b/makejdk-any-platform.sh @@ -55,7 +55,7 @@ echo "$@" > ./workspace/config/makejdk-any-platform.args # Let's build and test the (Adoptium) OpenJDK binary in Docker or natively if [ ! "${BUILD_CONFIG[USE_DOCKER]}" == "false" ] ; then - buildOpenJDKViaDocker ${BUILD_CONFIG[USE_DOCKER]} + buildOpenJDKViaDocker else buildOpenJDKInNativeEnvironment fi