refactor: Extract JDK path into separate variable
This commit is contained in:
parent
88ef34cc6b
commit
9cd7f2498a
5
warp4j
5
warp4j
@ -519,8 +519,9 @@ for target in ${TARGETS[@]}; do
|
||||
ensure_distro_unpacked $target $CONCRETE_JAVA_VERSION
|
||||
done
|
||||
|
||||
JLINK=$JAVA_DOWNLOAD_PATH/$THIS_PLATFORM/$CONCRETE_JAVA_VERSION/$UNPACKED_SUBDIR/bin/jlink
|
||||
JDEPS=$JAVA_DOWNLOAD_PATH/$THIS_PLATFORM/$CONCRETE_JAVA_VERSION/$UNPACKED_SUBDIR/bin/jdeps
|
||||
JDK_PATH=$JAVA_DOWNLOAD_PATH/$THIS_PLATFORM/$CONCRETE_JAVA_VERSION/$UNPACKED_SUBDIR
|
||||
JLINK=$JDK_PATH/bin/jlink
|
||||
JDEPS=$JDK_PATH/bin/jdeps
|
||||
|
||||
# modules are only needed if JDK optimisation is performed
|
||||
if [[ $JAVA_DISTRO_TYPE == $DISTRO_TYPE_JDK ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user