aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-12 12:44:04 +0100
committerMax Howell2009-09-14 20:33:46 +0100
commit2703702fdc0d63f6a18fa9ef8faaf7bbc14b7702 (patch)
treec66b8894ec9820baea1601f3de2e3c22bde729a1 /Library
parente5655492baa193be68ef1e3ac27a39e38d16c6a6 (diff)
downloadhomebrew-2703702fdc0d63f6a18fa9ef8faaf7bbc14b7702.tar.bz2
Formula::var
Points to eg. Cellar/wget/var rather than Cellar/wget/1.1.5/var Discussion: 1689bbc326f1201ea979178ebcadba344abf2568
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index e995f88d1..79d325ec5 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -92,6 +92,7 @@ class Formula
def info; prefix+'share'+'info' end
def include; prefix+'include' end
def share; prefix+'share' end
+ def var; prefix.parent+'var' end
# reimplement if we don't autodetect the download strategy you require
def download_strategy