openjdk21: fix profile script name

This commit is contained in:
Jérôme Duval
2025-04-28 08:44:27 +02:00
committed by GitHub
parent f06faa3ec7
commit 832f9c440d

View File

@@ -10,7 +10,7 @@ license. OpenJDK is the official Java SE 21 reference implementation."
HOMEPAGE="https://openjdk.java.net/"
COPYRIGHT="2007-2023 Oracle and/or its affiliates."
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
jdkBuild="jdk-${portVersion%.*}+${portVersion##*.}"
srcGitRev="1a6d5e5669fdb72c03dcc7a497223e5bce422e18"
SOURCE_URI="https://github.com/Powerm1nt/jdk21u/archive/$srcGitRev.tar.gz"
@@ -204,7 +204,7 @@ INSTALL()
echo "export JAVA_HOME" >> $jdkProfile
# create a profile.d file that sets up JDK21_HOME
jdkProfile=$dataDir/profile.d/openjdk20.sh
jdkProfile=$dataDir/profile.d/openjdk21.sh
echo "JDK21_HOME=$jdkDir" > $jdkProfile
echo "export JDK21_HOME" >> $jdkProfile