You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/idea-community/files/idea-community-jdk.patch

12 lines
379 B

--- a/bin/idea.sh 2021-04-29 14:52:57.173162184 -0400
+++ b/bin/idea.sh 2021-04-29 14:54:40.733748978 -0400
@@ -52,6 +52,8 @@ PATHS_SELECTOR="IdeaIC2021.1"
# shellcheck disable=SC2154
if [ -n "$IDEA_JDK" ] && [ -x "$IDEA_JDK/bin/java" ]; then
JRE="$IDEA_JDK"
+else
+ JDK="/opt/openjdk-bin-11" && [[ -d "/opt/openjdk-11" ]] && JDK="/usr/lib64/openjdk-bin-11"
fi
BITS=""