From b67afd33fc6dc12854f92abce3c79952ea295d5c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 28 Feb 2012 18:29:26 -0600 Subject: salt: fix subformula reference Fixes #10540. Signed-off-by: Jack Nagel --- Library/Formula/salt.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3