aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-28 18:29:26 -0600
committerJack Nagel2012-02-28 18:29:54 -0600
commitb67afd33fc6dc12854f92abce3c79952ea295d5c (patch)
treed5fad0530a6bec524ec19f4c3ca78177e98379c9 /Library/Formula
parent93008fd2c1edab7b7019debc414f151fdfb34577 (diff)
downloadhomebrew-b67afd33fc6dc12854f92abce3c79952ea295d5c.tar.bz2
salt: fix subformula reference
Fixes #10540. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/salt.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/salt.rb b/Library/Formula/salt.rb
index 9a72d12b4..b6034f596 100644
--- a/Library/Formula/salt.rb
+++ b/Library/Formula/salt.rb
@@ -80,7 +80,8 @@ class Salt < Formula
end
def install_subbrew(subbrew, installdir)
- subbrew.new.brew do
+ s = subbrew.new
+ s.brew do
d = File.basename Dir.pwd
(installdir + d).install Dir['*']
# the fitmodel file will link by default to the first dir