Commit 711269e3 authored by Cassandra Watergate's avatar Cassandra Watergate Committed by GitHub

Fix @antenv (#5595)

parent 141a6d54
......@@ -3,7 +3,7 @@ require 'package'
class Ant < Package
description 'Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other.'
homepage 'http://ant.apache.org/'
version '1.10.9'
version '1.10.9-1'
license 'Apache-2.0'
compatibility 'all'
source_url 'https://downloads.apache.org/ant/source/apache-ant-1.10.9-src.tar.xz'
......@@ -41,7 +41,7 @@ class Ant < Package
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
@antenv = <<~ANTEOF
# Apache Ant configuration
export JAVA_HOME=#{CREW_PREFIX}/share/jdk8'
export JAVA_HOME=#{CREW_PREFIX}/share/jdk8
export ANT_HOME=\$JAVA_HOME
ANTEOF
IO.write("#{CREW_DEST_PREFIX}/etc/env.d/ant", @antenv)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment