aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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