aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 21:34:55 -0800
committerAdam Vandenberg2014-02-27 08:21:21 -0800
commit0d0979193d68dc270744f800a0cb140d055a9d30 (patch)
treea6d6aa8ccbb39165e0c5852dab8b58f80c0fbb3a /Library/Formula
parent0a535199fb8e2cc5c71af081dd634f865f59f790 (diff)
downloadhomebrew-0d0979193d68dc270744f800a0cb140d055a9d30.tar.bz2
xmlto: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xmlto.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/xmlto.rb b/Library/Formula/xmlto.rb
index 1f8f863bd..263efe0fd 100644
--- a/Library/Formula/xmlto.rb
+++ b/Library/Formula/xmlto.rb
@@ -10,14 +10,14 @@ class Xmlto < Formula
depends_on 'gnu-getopt'
def patches
- # xmlto forces --no-net on xsltproc, which causes it to fail when
+ # xmlto forces --nonet on xsltproc, which causes it to fail when
# DTDs/entities aren't available locally.
DATA
end
def install
# GNU getopt is keg-only, so point configure to it
- ENV['GETOPT'] = Formula.factory('gnu-getopt').bin+"getopt"
+ ENV['GETOPT'] = Formula["gnu-getopt"].bin/"getopt"
# Find our docbook catalog
ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"