apache-ant: fix installation.

This commit is contained in:
Juan RP 2014-09-15 17:53:55 +02:00
parent 81c15adbe4
commit 432a1664cc
1 changed files with 2 additions and 2 deletions

View File

@ -18,11 +18,11 @@ do_configure() {
sed -i 's/jars,test-jar/jars/' build.xml
}
do_build() {
source /etc/profile.d/oracle-jdk.sh
source /etc/profile.d/10_oracle-jdk.sh
./build.sh -Ddist.dir=$DESTDIR/$_prefix jars
}
do_install() {
source /etc/profile.d/oracle-jdk.sh
source /etc/profile.d/10_oracle-jdk.sh
./build.sh -Ddist.dir=$DESTDIR/$_prefix dist
vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d