aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-28 08:54:54 -0700
committerAdam Vandenberg2012-10-28 08:54:54 -0700
commit1b991c5aaea0563ad2e4889fa9a6552de76e89be (patch)
tree7a392c91ed16e76ee79462a5a990a6256f754962 /Library
parent18dbe47f9f356ad68cdc16327487f7a7d44a4ca2 (diff)
downloadbrew-1b991c5aaea0563ad2e4889fa9a6552de76e89be.tar.bz2
formula: shorten path helpers
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 76d1d271f..699b57552 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -118,23 +118,23 @@ class Formula
end
def rack; prefix.parent end
- def bin; prefix+'bin' end
- def doc; prefix+'share/doc'+name end
- def include; prefix+'include' end
- def info; prefix+'share/info' end
- def lib; prefix+'lib' end
- def libexec; prefix+'libexec' end
- def man; prefix+'share/man' end
- def man1; man+'man1' end
- def man2; man+'man2' end
- def man3; man+'man3' end
- def man4; man+'man4' end
- def man5; man+'man5' end
- def man6; man+'man6' end
- def man7; man+'man7' end
- def man8; man+'man8' end
- def sbin; prefix+'sbin' end
- def share; prefix+'share' end
+ def bin; prefix+'bin' end
+ def doc; share+'doc'+name end
+ def include; prefix+'include' end
+ def info; share+'info' end
+ def lib; prefix+'lib' end
+ def libexec; prefix+'libexec' end
+ def man; share+'man' end
+ def man1; man+'man1' end
+ def man2; man+'man2' end
+ def man3; man+'man3' end
+ def man4; man+'man4' end
+ def man5; man+'man5' end
+ def man6; man+'man6' end
+ def man7; man+'man7' end
+ def man8; man+'man8' end
+ def sbin; prefix+'sbin' end
+ def share; prefix+'share' end
# configuration needs to be preserved past upgrades
def etc; HOMEBREW_PREFIX+'etc' end