aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-09-12 12:44:04 +0100
committerMax Howell2009-09-14 20:33:46 +0100
commit46ac04e41018e51f19fc98eeb14a5074872c0ec2 (patch)
treea334f5d1d08c821f0732a0e70f35c2bfe8da4c25
parentdf521478d2a37499aae132f012966cf243153ced (diff)
downloadbrew-46ac04e41018e51f19fc98eeb14a5074872c0ec2.tar.bz2
Formula::var
Points to eg. Cellar/wget/var rather than Cellar/wget/1.1.5/var Discussion: 1689bbc326f1201ea979178ebcadba344abf2568
-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