mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
openjdk21: fix profile script name
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user