ant_core: build fix (#5602)

define JAVA_HOME
This commit is contained in:
extrowerk
2021-01-12 12:40:54 +01:00
committed by GitHub
parent 6e45141155
commit 718c550e67

View File

@@ -20,7 +20,7 @@ The Apache Ant project is part of the Apache Software Foundation.
HOMEPAGE="http://ant.apache.org/"
COPYRIGHT="1999-2018 The Apache Software Foundation"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://archive.apache.org/dist/ant/source/apache-ant-$portVersion-src.tar.bz2"
CHECKSUM_SHA256="71a5cdd45a54901b6321d5a140d882f7580c38f766a4e4959bcc36555da9f3ac"
SOURCE_DIR="apache-ant-$portVersion"
@@ -54,6 +54,7 @@ BUILD()
{
source /system/data/profile.d/openjdk8.sh
export PATH=$JDK8_HOME/bin:$PATH
export JAVA_HOME="$JDK8_HOME"
ANT_HOME= ./build.sh
}
@@ -70,6 +71,6 @@ INSTALL()
mkdir -p $settingsDir/etc
echo ANT_HOME=$ANT_HOME > $settingsDir/etc/ant.conf
rm $ANT_HOME/bin/*{.bat,.cmd}
}