From bfe5a0c3b59a7858a0b2b3fce43605ff19ee7369 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 15 May 2024 07:21:25 +0200 Subject: [PATCH] Fixing variable --- warp4j | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/warp4j b/warp4j index dc940da..bdd9701 100755 --- a/warp4j +++ b/warp4j @@ -682,16 +682,16 @@ function create_optimized_runtime() { local platform=$1 local machine=$2 local jmods=$JAVA_DOWNLOAD_PATH/$platform/$machine/$CONCRETE_JAVA_VERSION/$UNPACKED_SUBDIR/jmods - local strip-debug=strip-debug + local strip_debug=strip-debug echo "Creating minimal runtime for $platform..." if [[ $JAVA_VERSION_BASE -ge 13 ]]; then - $strip-debug=strip-java-debug-attributes + $strip_debug=strip-java-debug-attributes fi - echo "$JLINK --no-header-files --no-man-pages --$strip-debug --module-path '$jmods' --add-modules $MODULES --output '$BUNDLES_PATH/$platform/$BUNDLED_DISTRO_SUBDIR'" + echo "$JLINK --no-header-files --no-man-pages --$strip_debug --module-path '$jmods' --add-modules $MODULES --output '$BUNDLES_PATH/$platform/$BUNDLED_DISTRO_SUBDIR'" "$JLINK" \ --no-header-files \ --no-man-pages \ - --$strip-debug \ + --$strip_debug \ --module-path "$jmods" \ --add-modules $MODULES \ --output "$BUNDLES_PATH/$platform/$BUNDLED_DISTRO_SUBDIR"